diff options
| author | Mark Nemec <mrknmc@me.com> | 2018-04-10 18:23:14 +0100 |
|---|---|---|
| committer | Antoine Pitrou <pitrou@free.fr> | 2018-04-10 19:23:14 +0200 |
| commit | c4b695f85e141f57d22d8edf7bc2c756da136918 (patch) | |
| tree | 73fee6f3f23c9d7b0496a27de71c4ca319b793f6 /Lib/contextlib.py | |
| parent | f178028f37c9dafb72608b719eb03e5a70af4ff5 (diff) | |
| download | cpython-git-c4b695f85e141f57d22d8edf7bc2c756da136918.tar.gz | |
bpo-33097: Fix submit accepting callable after executor shutdown by interpreter exit (GH-6144)
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.
Diffstat (limited to 'Lib/contextlib.py')
0 files changed, 0 insertions, 0 deletions
