]> granicus.if.org Git - python/commit
Issue #13444: When stdout has been closed explicitly, we should not attempt to flush...
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 26 Nov 2011 21:02:29 +0000 (22:02 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 26 Nov 2011 21:02:29 +0000 (22:02 +0100)
commit5604ef3e36756e59d3396ed16d7a94de2687e0ac
tree73c134b68d7a8536a9002cf427af96e67dafebf7
parent59ff2c56402362702054fa06c2b360326941e940
parentd7c8fbf89e751d43c56de0071702d2578676d0a1
Issue #13444: When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error.

This also adds a test for issue #5319, whose resolution introduced the issue.
Lib/test/test_cmd_line.py
Misc/NEWS
Python/pythonrun.c