[WIP] bpo-39511: Add Py_GetNone() and Py_GetNoneRef() functions by vstinner · Pull Request #18301 · python/cpython
Conversation
* Add PyInterpreterState.none field * Add _Py_InitSingletons() and _Py_FiniSingletons() * Remove _Py_NoneStruct from the public C API.
I still consider that this PR is a good way to solve https://bugs.python.org/issue39511 but I simply lack time to finish the work. I prefer to close the PR to reduce the number of open PRs that I have.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters