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

2 participants