Skip to content

[3.7] bpo-33097: Fix submit accepting callable after executor shutdown by interpreter exit (GH-6144)#6445

Merged
pitrou merged 1 commit intopython:3.7from
miss-islington:backport-c4b695f-3.7
Apr 10, 2018
Merged

[3.7] bpo-33097: Fix submit accepting callable after executor shutdown by interpreter exit (GH-6144)#6445
pitrou merged 1 commit intopython:3.7from
miss-islington:backport-c4b695f-3.7

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Apr 10, 2018

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 c4b695f)

Co-authored-by: Mark Nemec [email protected]

https://bugs.python.org/issue33097

…nterpreter exit (pythonGH-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.
(cherry picked from commit c4b695f)

Co-authored-by: Mark Nemec <[email protected]>
@miss-islington
Copy link
Copy Markdown
Contributor Author

@mrknmc and @pitrou: Backport status check is done, and it's a success ✅ .

@pitrou pitrou merged commit b262659 into python:3.7 Apr 10, 2018
@miss-islington
Copy link
Copy Markdown
Contributor Author

Thanks, @pitrou!

@miss-islington miss-islington deleted the backport-c4b695f-3.7 branch April 10, 2018 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants