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 Laurent.Mazuel, Rhamphoryncus, alexis, amaury.forgeotdarc, brian.curtin, bronger, cmcqueen1975, cwalther, eric.snow, gregory.p.smith, guettli, hasenpfeffer, iritkatriel, pitrou, vstinner
Date 2021-09-24.15:33:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632497618.63.0.227461774006.issue1596321@roundup.psfhosted.org>
In-reply-to
Content
I proposed PR 28549 to fix this very old threading issue.

A C extension can spawn threads without using the threading module and then then run Python code which imports the threading module. In this case, threading._main_thread is the thread which imported first the threading module. My PR changes so threading._shutdown() simply ignores _main_thread when it happens.
History
Date User Action Args
2021-09-24 15:33:38vstinnersetrecipients: + vstinner, gregory.p.smith, guettli, amaury.forgeotdarc, Rhamphoryncus, pitrou, bronger, cwalther, brian.curtin, cmcqueen1975, alexis, Laurent.Mazuel, eric.snow, hasenpfeffer, iritkatriel
2021-09-24 15:33:38vstinnersetmessageid: <1632497618.63.0.227461774006.issue1596321@roundup.psfhosted.org>
2021-09-24 15:33:38vstinnerlinkissue1596321 messages
2021-09-24 15:33:38vstinnercreate