]> 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:48:19 +0000 (19:48 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 13 Apr 2015 17:48:19 +0000 (19:48 +0200)
commitcb46f0ecb05ef3ccd3f53ced7f60748c0b3c710a
treebd7bf53350b0acbd12721bcfba898d6f6072fc1c
parent9c680b07285867844927871ddcbf60c93e786e1f
parent25f85d4bd58d86d3e6ce99cb9f270e96bf5ba08f
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