SIGN IN SIGN UP

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.
M
Mark Nemec committed
c4b695f85e141f57d22d8edf7bc2c756da136918
Parent: f178028
Committed by Antoine Pitrou <pitrou@free.fr> on 4/10/2018, 5:23:14 PM