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
Date 2021-08-26.20:55:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630011348.25.0.304859273924.issue45021@roundup.psfhosted.org>
In-reply-to
Content
A more direct way to reproduce


from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor
from time import sleep

def worker():
    with ProcessPoolExecutor() as pool:
        r = list(pool.map(sleep, [0.01] * 8))


def submit(pool):
    pool.submit(submit, pool)


if __name__ == '__main__':
    pool = ThreadPoolExecutor(2)
    pool.submit(submit, pool)

    i = 0
    while True:
        r = pool.submit(worker)
        r = r.result()
        print(i)
        i += 1
History
Date User Action Args
2021-08-26 20:55:480x0Lsetrecipients: + 0x0L
2021-08-26 20:55:480x0Lsetmessageid: <1630011348.25.0.304859273924.issue45021@roundup.psfhosted.org>
2021-08-26 20:55:480x0Llinkissue45021 messages
2021-08-26 20:55:480x0Lcreate