Author njs
Recipients Ilya.Kulakov, njs, pitrou, yselivanov
Date 2017-12-20.00:25:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It might be possible to create ProcessPoolExecutor and get it to spawn all the workers *before* you start the asyncio loop. It looks like ProcessPoolExecutor delays spawning workers until the first piece of work is submitted, but at that point it spawns all of them immediately, so something like this might work:

executor = ProcessPoolExecutor(...)
executor.submit(lambda: None).wait()
with asyncio.get_event_loop() as loop:
Date User Action Args
2017-12-20 00:25:03njssetrecipients: + njs, pitrou, yselivanov, Ilya.Kulakov
2017-12-20 00:25:03njssetmessageid: <>
2017-12-20 00:25:03njslinkissue31489 messages
2017-12-20 00:25:03njscreate