Guido van Rossum wrote: > No answers yet, but a clue, and anyone on OSX should now be able to > reproduce this (with 2.5, 2.6 or 3.0) as follows: > > ./python ./Lib/test/test_sys.py | cat > > That is, the problem happens when stdout is redirected to a pipe (or a file).
Redirecting stdout also fails for both the trunk and the py3k branch for me on Ubuntu. If I redirected stderr as well then the tests worked again. Given that a pipe/file and the console very likely *do* have different encodings, maybe the test is just wrong? Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org _______________________________________________ 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