Author pitrou
Recipients irmen, pitrou
Date 2008-05-24.22:20:58
SpamBayes Score 0.00723456
Marked as misclassified No
Message-id <>
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 :-)
Date User Action Args
2008-05-24 22:21:58pitrousetspambayes_score: 0.00723456 -> 0.00723456
recipients: + pitrou, irmen
2008-05-24 22:21:55pitrousetspambayes_score: 0.00723456 -> 0.00723456
messageid: <>
2008-05-24 22:21:53pitroulinkissue2871 messages
2008-05-24 22:21:48pitroucreate