homepage

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 iritkatriel
Recipients Laurent.Mazuel, Rhamphoryncus, alexis, amaury.forgeotdarc, brian.curtin, bronger, cmcqueen1975, cwalther, eric.snow, gregory.p.smith, guettli, hasenpfeffer, iritkatriel, pitrou
Date 2021年08月16日.22:17:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629152250.07.0.980403514342.issue1596321@roundup.psfhosted.org>
In-reply-to
Content
The output is different now. 
I update the script for python 3:
---------------------------------------------
import _thread as thread
import time
def start():
	print("Secondary thread ID:", thread.get_ident())
	import threading
print("Main thread ID:", thread.get_ident())
thread.start_new_thread(start, ())
time.sleep(1)
---------------------------------------------
and the output is:
---------------------------------------------
Main thread ID: 4432801280
Secondary thread ID: 123145384259584
Exception ignored in: <module 'threading' from '/Users/iritkatriel/src/cpython-perf/Lib/threading.py'>
Traceback (most recent call last):
 File "/Users/iritkatriel/src/cpython-perf/Lib/threading.py", line 1512, in _shutdown
 assert tlock.locked()
 ^^^^^^^^^^^^^^^^^^^^^
AssertionError: 
---------------------------------------------
History
Date User Action Args
2021年08月16日 22:17:30iritkatrielsetrecipients: + iritkatriel, gregory.p.smith, guettli, amaury.forgeotdarc, Rhamphoryncus, pitrou, bronger, cwalther, brian.curtin, cmcqueen1975, alexis, Laurent.Mazuel, eric.snow, hasenpfeffer
2021年08月16日 22:17:30iritkatrielsetmessageid: <1629152250.07.0.980403514342.issue1596321@roundup.psfhosted.org>
2021年08月16日 22:17:30iritkatriellinkissue1596321 messages
2021年08月16日 22:17:30iritkatrielcreate

AltStyle によって変換されたページ (->オリジナル) /