Re: [Python-Dev] This seems like a bug - main thread has None ident???

2009-03-31 Thread skip
skip> Am I missing something obvious or have I hit a bug? This is a skip> fully updated 2.7a0 build, trunk:70878M. After noting that thread.get_ident() returned a thread id but that threading.currentThread().ident was None I concluded that it is, in fact, a bug in the threading module.

[Python-Dev] This seems like a bug - main thread has None ident???

2009-03-31 Thread skip
Looking for some quick feedback on this. I've bumped into what looks like a bug in the threading module. From the interpreter prompt: >>> import threading >>> threading.currentThread() <_MainThread(MainThread, started)> >>> print threading.currentThread().ident None The iden