Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Well, it's true that get_ident() will always give you a reliable number while currentThread() can play dirty games on you at shutdown. The thing is the Thread object is dereferenced before the OS thread actually terminates, so it may be that a Python callback is called by some C code in those last moments and gets the wrong answer from currentThread() (because currentThread() returns a new dummy thread when it can't find a Thread object corresponding to the get_ident() value).
So finally your request sounds quite reasonable :-) __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2871> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com