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 vstinner
Recipients eleven.xiang, vstinner
Date 2021-09-28.12:17:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632831463.56.0.153578017429.issue45308@roundup.psfhosted.org>
In-reply-to
Content
That's the principle of fork. You should use a different spawn method if you don't want to inherit resources inherited from the parent process, like spawn or forkserver:
https://docs.python.org/dev/library/multiprocessing.html#contexts-and-start-methods
History
Date User Action Args
2021-09-28 12:17:43vstinnersetrecipients: + vstinner, eleven.xiang
2021-09-28 12:17:43vstinnersetmessageid: <1632831463.56.0.153578017429.issue45308@roundup.psfhosted.org>
2021-09-28 12:17:43vstinnerlinkissue45308 messages
2021-09-28 12:17:43vstinnercreate