Message290000
| Author |
vstinner |
| Recipients |
mark.dickinson, rhettinger, serhiy.storchaka, vstinner |
| Date |
2017年03月22日.16:49:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1490201349.41.0.222936937528.issue29878@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Other common values used in C functions: empty byte string, empty Unicode string, empty tuple. The problem is to make sure that singletons are created in the right order :-/
This issue reminded me an old idea of writing a generalization of the _Py_IDENTIFIER() API. I created an issue #29881: Add a new private API for "static C variables" (_PyStaticVar) to clear them at exit. To be clear: it's related but different to this issue, the two issues are exclusive. |
|