Message204442
| Author | vstinner |
|---|---|
| Recipients | neologix, vstinner |
| Date | 2013-11-26.00:13:57 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1385424837.9.0.232178819972.issue19787@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The tracemalloc module uses PyThread_set_key_value() to store an flag in the Thread Local Storage. The problem is that it is not possible to call the function twice with two different values. If PyThread_set_key_value() is called with a non-NULL pointer, the next calls do nothing. Python should expose a new function which would always call TlsSetValue() / pthread_setspecific() with the input value with no extra check on the input value. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013-11-26 00:13:57 | vstinner | set | recipients: + vstinner, neologix |
| 2013-11-26 00:13:57 | vstinner | set | messageid: <1385424837.9.0.232178819972.issue19787@psf.upfronthosting.co.za> |
| 2013-11-26 00:13:57 | vstinner | link | issue19787 messages |
| 2013-11-26 00:13:57 | vstinner | create | |