diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-01 09:36:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-01 09:36:29 (GMT) |
commit | f286e0373feda0955c910a9fe4ef99cd2c40969e (patch) | |
tree | 50a943019b41b88ac3337cab94e898e9482166c6 /Lib/idlelib/browser.py | |
parent | 18e23f227be59241cbb1eeb6d6669771dd7275fb (diff) | |
download | cpython-f286e0373feda0955c910a9fe4ef99cd2c40969e.zip cpython-f286e0373feda0955c910a9fe4ef99cd2c40969e.tar.gz cpython-f286e0373feda0955c910a9fe4ef99cd2c40969e.tar.bz2 |
bpo-36813: Fix QueueListener to call task_done() upon termination. (GH-13113)
Fixed QueueListener in order to avoid random deadlocks.
Unable to add regression tests atm due to time constraints, will add it in a bit.
Regarding implementation, although it's nested, it does not cause performance issues whatsoever, and does not call task_done() in case of an exception (which is the right thing to do IMHO).
https://bugs.python.org/issue36813
(cherry picked from commit 6b282e18877ec84e927b381b4ce187eaf4ba3dd7)
Co-authored-by: Bar Harel <bzvi7919@gmail.com>
Diffstat (limited to 'Lib/idlelib/browser.py')
0 files changed, 0 insertions, 0 deletions