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 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.
History
Date User Action Args
2017-03-22 16:49:09vstinnersetrecipients: + vstinner, rhettinger, mark.dickinson, serhiy.storchaka
2017-03-22 16:49:09vstinnersetmessageid: <1490201349.41.0.222936937528.issue29878@psf.upfronthosting.co.za>
2017-03-22 16:49:09vstinnerlinkissue29878 messages
2017-03-22 16:49:09vstinnercreate