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 <[EMAIL PROTECTED]> 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/)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to