Message402573
| 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:38 | vstinner | set | recipients:
+ 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:38 | vstinner | set | messageid: <1632497618.63.0.227461774006.issue1596321@roundup.psfhosted.org> |
| 2021年09月24日 15:33:38 | vstinner | link | issue1596321 messages |
| 2021年09月24日 15:33:38 | vstinner | create |
|