This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author 0x0L
Recipients 0x0L, iritkatriel, pitrou, python-dev, vstinner
Date 2021-08-28.14:22:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630160536.39.0.890536156403.issue45021@roundup.psfhosted.org>
In-reply-to
Content
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')
History
Date User Action Args
2021-08-28 14:22:160x0Lsetrecipients: + 0x0L, pitrou, vstinner, python-dev, iritkatriel
2021-08-28 14:22:160x0Lsetmessageid: <1630160536.39.0.890536156403.issue45021@roundup.psfhosted.org>
2021-08-28 14:22:160x0Llinkissue45021 messages
2021-08-28 14:22:160x0Lcreate