[Python-Dev] 2.4.2c1 fails test_unicode on HP-UX ia64

Guido van Rossum guido at python.org
Tue Sep 20 19:32:26 CEST 2005


This seems to disappear when I disable -O. I guess the HP-UX optimizer
is as bad as it always was. Or perhaps we have an old version
installed. Sorry!

On 9/20/05, Guido van Rossum <guido at python.org> wrote:
> I just built and ran the latest Python 2.4.2c1 from CVS on our HP-UX
> Itanium 2 box. sys.maxint is 9223372036854775807 on this box.
> 
> I get the following failure from test_unicode (all other tests pass):
> 
>   File "/var/tmp/guido/p4/Lib/test/test_unicode.py", line 553, in
> test_codecs_errors
>     self.assertEqual(u'Andr\202 x'.encode('ascii','replace'), "Andr? x")
> AssertionError: 'Andr x' != 'Andr? x'
> 
> When I try it on the command line I get the same result:
> 
> Python 2.4.2c1 (#4, Sep 20 2005, 09:15:22) [C] on hp-ux11
> Type "help", "copyright", "credits" or "license" for more information.
> >>> u'Andr\202 x'.encode('ascii','replace')
> 'Andr x'
> >>>
> 
> The test passes on Linux. We have about 6 hours until code freeze...
> 
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/)
> 


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list