473,387 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

2.3: test test_normalization failed

When I compiled Python 2.3 at home, everything went well. make test
reported no problems. At work, though, I got:

test test_normalization failed -- 03F9;03F9;03F9;03A3;03A3;

At first I thought it might be a problem with a somewhat inconsistently
upgraded system, but a few looks showed me the real difference.
At home I had updated Python quite frequently and downloaded
NormalizationTest.txt some months ago. At work, I downloaded it last week.
With revision 3.2.0 of said file the test passes, with revision 4.0.0 it
fails.

I have almost zip knowledge of the whole unicode business 'til now, so
I'm not overly concerned. Was 3.2.0 buggy? Is 4.0.0 buggy? Are there
different, incompatible specs? (Now _that_ I can't think of!)

Whatever, maybe someone can give a little insight.

Thanks for a great 2.3!

Hans-Joachim
Jul 18 '05 #1
4 2010
Hans-Joachim Widmaier <hj********@web.de> writes:
When I compiled Python 2.3 at home, everything went well. make test
reported no problems. At work, though, I got:

test test_normalization failed -- 03F9;03F9;03F9;03A3;03A3;

At first I thought it might be a problem with a somewhat inconsistently
upgraded system, but a few looks showed me the real difference.
At home I had updated Python quite frequently and downloaded
NormalizationTest.txt some months ago. At work, I downloaded it last week.
With revision 3.2.0 of said file the test passes, with revision 4.0.0 it
fails.
This is known: Python from CVS explicitly requests the 3.2 file.
I have almost zip knowledge of the whole unicode business 'til now, so
I'm not overly concerned. Was 3.2.0 buggy? Is 4.0.0 buggy? Are there
different, incompatible specs? (Now _that_ I can't think of!)


I would imagine it being something like unicode 4 adding more
characters, but Python 2.3 -- being built on 3.2 normalization data --
doesn't know how these new character compose or decompose. Just a
guess.

Cheers,
mwh

--
Enlightenment is probably antithetical to impatience.
-- Erik Naggum, comp.lang.lisp
Jul 18 '05 #2
Michael Hudson <mw*@python.net> wrote in message news:<7h*************@pc150.maths.bris.ac.uk>...

[test failure with 4.0.0]
This is known: Python from CVS explicitly requests the 3.2 file.
Maybe test_normalization.py should look at the file version itself and
tell the unsuspicious that it really wants the 3.2 version.
I would imagine it being something like unicode 4 adding more
characters, but Python 2.3 -- being built on 3.2 normalization data --
doesn't know how these new character compose or decompose. Just a
guess.


Sounds reasonable. So the 2.3 normalization is just incomplete
regarding the newest standard.

Dismissed.

Thanks,
Hans-Joachim
Jul 18 '05 #3
hj********@web.de (Hans-Joachim Widmaier) writes:
Michael Hudson <mw*@python.net> wrote in message news:<7h*************@pc150.maths.bris.ac.uk>...

[test failure with 4.0.0]
This is known: Python from CVS explicitly requests the 3.2 file.


Maybe test_normalization.py should look at the file version itself and
tell the unsuspicious that it really wants the 3.2 version.


It's kind of hard to do that for the already released 2.3 :-)
I would imagine it being something like unicode 4 adding more
characters, but Python 2.3 -- being built on 3.2 normalization data --
doesn't know how these new character compose or decompose. Just a
guess.


Sounds reasonable. So the 2.3 normalization is just incomplete
regarding the newest standard.


Yep. I would guess it likely that 2.4 will be up to date again, but
it's not really my field.

Cheers,
mwh

--
Java is a WORA language! (Write Once, Run Away)
-- James Vandenberg (on pr*******@egroups.com)
& quoted by David Rush on comp.lang.scheme
Jul 18 '05 #4
Michael Hudson <mw*@python.net> writes:
Sounds reasonable. So the 2.3 normalization is just incomplete
regarding the newest standard.


Yep. I would guess it likely that 2.4 will be up to date again, but
it's not really my field.


It will be tricky to update. Python now also supports IDNA
(encodings/idna.py), which implements RFC 3490/91/92, which requires
the Unicode 3.2 database; updating to 4.0 would be a violation of that
RFC. So if we want to update the database, we need to find a way still
to keep the old one.

Regards,
Martin
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Berthold Höllmann | last post by:
Hello, The error desribed in SF error report No. 870120 (segmentation fault in test_re) still persists for me in 2.3.4c1. Regards Berthold -- bhoel@web.de /...
0
by: Sven Hilmahr | last post by:
Hello, I tried to do a Python 2.3.4 framework installation on my Mac OS X 10.3.5. I configured as described in /Mac/OSX/ReadMe: ../configure --enable-framework But on make test, one test...
0
by: Remy Blank | last post by:
Ok, here we go. I added the possibility for tests using the unittest.py framework to be skipped. Basically, I added two methods to TestCase: TestCase.skip(msg): skips unconditionally...
0
by: Andrea M. Segovia | last post by:
I just compiled (but did not install) perl 5.8.0 on an SGI Origin 300 server (IP35) running IRIX 6.5.20m. Make test reported one test error, which I narrowed down to .../lib/ExUtils/t/Constant.t...
0
by: Jussi Mononen | last post by:
Hi, I'm having problems to successfully execute the test scripts on a Compaq host ( OSF1 tr51bdev V5.1 2650 alpha ). Almost all tests end up with the following error message "PARI: *** ...
0
by: cpavon | last post by:
Hello everyone, I am fairly new to MACT, I am currently trying to parse the oResponse.Body to retrive a dynamic values...store in an array and then randomly post those values. Does anyone...
2
by: Adam Smith | last post by:
Hello, Installing Python 2.4.2 on UNIX platform Running FreeBSD O/S 4.9-STABLE FreeBSD 4.9-STABLE #0: Using distro from python's official site untar ../configure make make install
176
by: nw | last post by:
Hi, I previously asked for suggestions on teaching testing in C++. Based on some of the replies I received I decided that best way to proceed would be to teach the students how they might write...
1
by: J-Burns | last post by:
Hello. Im using doctests to check the functions that ive made. Wat i dnt understand is that it gives me a fialure even though the expected and got values are the same. Check this out: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.