]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 13 Apr 2015 17:41:47 +0000 (19:41 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 13 Apr 2015 17:41:47 +0000 (19:41 +0200)
commit25f85d4bd58d86d3e6ce99cb9f270e96bf5ba08f
treec6b252f8cde6d114360560f412044a5b0e46d999
parentf3b990e48c698154fb2eaa990ee22a6962e041ac
Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted
while it is holding a lock to a buffered I/O object, and the main thread
tries to use the same I/O object (typically stdout or stderr).  A fatal
error is emitted instead.
Lib/test/script_helper.py
Lib/test/test_io.py
Lib/test/test_script_helper.py
Misc/NEWS
Modules/_io/bufferedio.c