Mark Nemec added the comment:
Happy to contribute! Thanks for the review :)
--
___
Python tracker
<https://bugs.python.org/issue33097>
___
___
Python-bugs-list m
Change by Mark Nemec :
--
title: concurrent.futures executors accept tasks after interpreter shutdown ->
concurrent futures Executors accept tasks after interpreter shutdown
___
Python tracker
<https://bugs.python.org/issu
New submission from Mark Nemec :
Currently, one can submit a task to an executor (both ThreadPoolExecutor and
ProcessPoolExecutor) during interpreter shutdown. One way to do this is to
register function fun with atexit as below.
@atexit.register
def fun():
pool.submit(print, "apple&q