diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-04-10 18:35:02 (GMT) |
---|---|---|
committer | Antoine Pitrou <pitrou@free.fr> | 2018-04-10 18:35:02 (GMT) |
commit | b26265900a18a184997c3c3a1fa6a5bf29703ec9 (patch) | |
tree | bb4852fb29034d3fbe1255106d6e87ed8e713a68 /Lib/pydoc.py | |
parent | 9bb8cebdce99db7e7a94f15141a8e0514b51aa72 (diff) | |
download | cpython-b26265900a18a184997c3c3a1fa6a5bf29703ec9.zip cpython-b26265900a18a184997c3c3a1fa6a5bf29703ec9.tar.gz cpython-b26265900a18a184997c3c3a1fa6a5bf29703ec9.tar.bz2 |
bpo-33097: Fix submit accepting callable after executor shutdown by interpreter exit (GH-6144) (GH-6445)
Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError.
(cherry picked from commit c4b695f85e141f57d22d8edf7bc2c756da136918)
Co-authored-by: Mark Nemec <mrknmc@me.com>
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions