mirror of
https://github.com/python/cpython.git
synced 2026-05-09 22:20:38 -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.