Karl Richter added the comment:
Sorry, I mean
#!/usr/bin/python
import threading
def debugging():
def __a_thread__():
print("2")
a_thread = threading.Thread(target=__a_thread__)
a_thread.start()
a_thread.join()
print("1")
if __name__ == "__main__":
debugging()
It's very uncommon to set the current debugging thread in the source.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23163>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com