nullptr <xavier.lacr...@gmail.com> added the comment:
Simplifying the reproducing example a bit more: from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor from time import sleep def submit(pool): pool.submit(submit, pool) if __name__ == '__main__': pool = ThreadPoolExecutor(1) pool.submit(submit, pool) while True: with ProcessPoolExecutor() as workers: print('WORK') workers.submit(sleep, 0.01).result() print('DONE') print('OK') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45021> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com