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 eric.snow, jeremy.kloth, jkloth, nanjekyejoannah, ncoghlan, vstinner
Date 2020-02-01.12:14:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580559255.58.0.989554083942.issue39511@roundup.psfhosted.org>
In-reply-to
Content
Recently, Petr Viktorin proposed immortal singletons in my latest "Pass the Python thread state to internal C functions" thread on python-dev list:
https://mail.python.org/archives/list/python-dev@python.org/message/RAVSH7HYHTROXSTUR3677WGTCTEO6FYF/

In 2004,  Jewett, Jim J proposed:

"What if a few common (constant, singleton) objects (such as None, -1, 0, 1) were declared immortal at compile-time?"

https://mail.python.org/archives/list/python-dev@python.org/thread/XWGRUATMRAVXXZKQ7QA2YX22KI55T7P5/#OQO7DWRVH7IIOE4RUJ2ZR7S5UT6WOCPS
History
Date User Action Args
2020-02-01 12:14:15vstinnersetrecipients: + vstinner, ncoghlan, jkloth, jeremy.kloth, eric.snow, nanjekyejoannah
2020-02-01 12:14:15vstinnersetmessageid: <1580559255.58.0.989554083942.issue39511@roundup.psfhosted.org>
2020-02-01 12:14:15vstinnerlinkissue39511 messages
2020-02-01 12:14:15vstinnercreate