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 | ncoghlan at gmail.com | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4