8000 Add Py_SETREF and Py_CLEAR operations by vstinner · Pull Request #56 · python/pythoncapi-compat · GitHub
[go: up one dir, main page]

Skip to content

Add Py_SETREF and Py_CLEAR operations#56

Merged
vstinner merged 2 commits intomainfrom
newref
Nov 27, 2022
Merged

Add Py_SETREF and Py_CLEAR operations#56
vstinner merged 2 commits intomainfrom
newref

Conversation

@vstinner
Copy link
Member

No description provided.

* Remove FORCE_NEWREF. Instead, exclude NewRef operations from "all".
* Enhance Py_INCREF_assign.
* Replace also "PyObject *var = x; Py_INCREF(x);"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0