Serhiy Storchaka <[email protected]> added the comment:
And what if run different threads with the same target or with different
targets with the same name? Would not "Thread-3" be more useful in this case?
for i in range(10):
Thread(target=print, args=(i,)).start()
for i in range(10):
def doit(i=i):
print(i)
Thread(target=doit).start()
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41833>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com