Message303493
> Currently, Python exposes "thread identifiers" as unsigned long values across multiple modules:
It happened not so long ago. In 3.6 and earlier "thread identifiers" are signed integers. See issue6532, it was massive change. This issue was deferred for long time due to the afraid of breaking the word. And it still was not tested with third-party code.
>> What happens for code that uses e.g. "%x" to format thread ids?
>It's okay for the opaque object to have a int() conversion.
What happens for C code that uses "%lu" to format thread ids? |
|
Date |
User |
Action |
Args |
2017-10-01 21:13:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, ncoghlan, pitrou, benjamin.peterson, r.david.murray, pdox |
2017-10-01 21:13:45 | serhiy.storchaka | set | messageid: <1506892425.52.0.213398074469.issue31622@psf.upfronthosting.co.za> |
2017-10-01 21:13:45 | serhiy.storchaka | link | issue31622 messages |
2017-10-01 21:13:45 | serhiy.storchaka | create | |
|