KEMBAR78
gh-105927: finalize_modules_clear_weaklist() uses _PyWeakref_GET_REF() by vstinner · Pull Request #105971 · python/cpython · GitHub
Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 21, 2023

finalize_modules_clear_weaklist() now holds a strong reference to the module longer than before: replace PyWeakref_GET_OBJECT() with _PyWeakref_GET_REF().

…T_REF()

finalize_modules_clear_weaklist() now holds a strong reference to the
module longer than before: replace PyWeakref_GET_OBJECT() with
_PyWeakref_GET_REF().
@vstinner vstinner merged commit 4328dc6 into python:main Jun 21, 2023
@vstinner vstinner deleted the getref_finalize branch June 21, 2023 19:50
bentasker pushed a commit to bentasker/cpython that referenced this pull request Jun 23, 2023
…T_REF() (python#105971)

finalize_modules_clear_weaklist() now holds a strong reference to the
module longer than before: replace PyWeakref_GET_OBJECT() with
_PyWeakref_GET_REF().
Sign up for free to 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.

2 participants