This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients benjamin.peterson, exarkun, gregory.p.smith, loewis, marcin.bachry, neologix, pitrou, python-dev, schmichael, spiv, tseaver, vstinner
Date 2011-05-07.10:26:33
SpamBayes Score 6.7306326e-05
Marked as misclassified No
Message-id <1304763995.05.0.10820068852.issue8407@psf.upfronthosting.co.za>
In-reply-to
Content
The threading has a function to get directly the identifier of the current thread: threading._get_ident() instead of threading.current_thread().ident. I think that threading._get_ident() is more reliable to threading.current_thread().ident because Thread.ident can be None in some cases. I created the issue #12028 to decide what to do with this function.
History
Date User Action Args
2011-05-07 10:26:35vstinnersetrecipients: + vstinner, loewis, gregory.p.smith, spiv, exarkun, tseaver, pitrou, benjamin.peterson, marcin.bachry, schmichael, neologix, python-dev
2011-05-07 10:26:35vstinnersetmessageid: <1304763995.05.0.10820068852.issue8407@psf.upfronthosting.co.za>
2011-05-07 10:26:33vstinnerlinkissue8407 messages
2011-05-07 10:26:33vstinnercreate