]> granicus.if.org Git - python/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)
commit8da4fb5a1c99e7d05c6417def3ef145790f2fa41
treea81d40ef543c5b9b1772fec8eb17f14d9fca00f9
parent76a63260685b0778e85f55f60b3bf82c66075e99
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