mirror of
https://github.com/python/cpython.git
synced 2026-05-18 10:24:42 -04:00
c4b695f85e
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.