Skip to content

[WIP] bpo-39511: Add Py_GetNone() and Py_GetNoneRef() functions - #18301

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:none
Closed

[WIP] bpo-39511: Add Py_GetNone() and Py_GetNoneRef() functions#18301
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:none

Conversation

@vstinner

@vstinnervstinner commented Feb 1, 2020

Copy link
Copy Markdown
Member
  • Add PyInterpreterState.none field
  • Add _Py_InitSingletons() and _Py_FiniSingletons()
  • Remove _Py_NoneStruct from the public C API.

https://bugs.python.org/issue39511

* Add PyInterpreterState.none field
* Add _Py_InitSingletons() and _Py_FiniSingletons()
* Remove _Py_NoneStruct from the public C API.
@vstinner

Copy link
Copy Markdown
MemberAuthor

PR rebased on the master branch.

@vstinner
vstinner marked this pull request as draft June 10, 2020 18:09
@vstinner

Copy link
Copy Markdown
MemberAuthor

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.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@the-knights-who-say-ni@bedevere-bot