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 ident attribute is documented as being a number unless the thread has
yet to be started. Shouldn't the main thread's ident attribute *always*
be non-None? Clearly, it appears the main thread has been started.
Am I missing something obvious or have I hit a bug? This is a fully updated
2.7a0 build, trunk:70878M.
Skip
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com