[Python-Dev] Python 2.0 beta 2 pre-release
Tue, 26 Sep 2000 20:34:51 -0400
[Victor the Cleaner]
> Jeremy asked me to send this report (which I originally sent just to
> him) along to the rest of python-dev, so here ya go:
Bugs reports should go to SourceForge, else as often as not they'll got
> ------------%< snip %<----------------------%< snip %<------------
> Hey Jeremy,
> Configured (--without-gcc), made and ran just fine on my IRIX6.5 O2.
> The "make test" output indicated a lot of skipped modules since I
> didn't do any Setup.in modifications before making everything, and the
> only error came from test_unicodedata:
> test test_unicodedata failed -- Writing:
> 'e052289ecef97fc89c794cf663cb74a64631d34e', expected:
The problem appears to be that the test uses the secret "unicode-internal"
encoding, which is dependent upon the big/little-endianess of your platform.
I can reproduce your flawed hash exactly on my platform by replacing this
in test_unicodedata.py's test_methods() with this block:
xxx = array.array("H", map(ord, u''.join(data)))
When you do this from a shell:
I bet you get