]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 12 Feb 2014 17:27:55 +0000 (18:27 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 12 Feb 2014 17:27:55 +0000 (18:27 +0100)
commit8ebe5324a072b871646ce67bb44d675acdff05fb
tree7bc02bd83e4b10c1a680b703d05d19b9cbb5b3a1
parentf86b43382311370d099b1ba9995093a2e0252605
Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin

On Windows, the codec of sys.stdout is implemented in Python. At exit, the
codec may be unloaded before the destructor tries to write something to
sys.stdout.
Lib/test/test_builtin.py