Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Jun 21, 2023

type_from_ref() now returns a strong reference to the type, instead of a borrowed reference: replace PyWeakref_GET_OBJECT() with _PyWeakref_GET_REF().

type_from_ref() now returns a strong reference to the type, instead of a borrowed reference: replace PyWeakref_GET_OBJECT() with _PyWeakref_GET_REF().
@vstinnervstinner merged commit fc32522 into python:mainJun 21, 2023
@vstinnervstinner deleted the getref_type branch June 21, 2023 14:36
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@bedevere-bot