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 xxm
Recipients stestagg, xxm
Date 2020-12-29.03:46:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609213572.39.0.717255589809.issue42763@roundup.psfhosted.org>
In-reply-to
Content
Thank you, but I don't think this is a duplicate of issue42717. This crash is probably caused by the parameter "target" of Thread. "Target" accept the "callable object". Defaults to None. In this program, it's assigned to a "Int object". I think a pre-checking of parameter for such error should be added. 



Minimal test case should be:
===============================
import threading
for i in range(10):
    t = threading.Thread(target=1, daemon=True).start()  
================================= 



In fact, I try this one. No loop, It sometime crashes the parser.(not always, twice in ten times)
==================================
import threading
t = threading.Thread(target=1, daemon=True).start()
==================================
History
Date User Action Args
2020-12-29 03:46:12xxmsetrecipients: + xxm, stestagg
2020-12-29 03:46:12xxmsetmessageid: <1609213572.39.0.717255589809.issue42763@roundup.psfhosted.org>
2020-12-29 03:46:12xxmlinkissue42763 messages
2020-12-29 03:46:12xxmcreate