Message135442
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. |
|
Date |
User |
Action |
Args |
2011-05-07 10:26:35 | vstinner | set | recipients:
+ vstinner, loewis, gregory.p.smith, spiv, exarkun, tseaver, pitrou, benjamin.peterson, marcin.bachry, schmichael, neologix, python-dev |
2011-05-07 10:26:35 | vstinner | set | messageid: <1304763995.05.0.10820068852.issue8407@psf.upfronthosting.co.za> |
2011-05-07 10:26:33 | vstinner | link | issue8407 messages |
2011-05-07 10:26:33 | vstinner | create | |
|