Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 23, 2023

Remove _PyWeakref_GetWeakrefCount() and _PyWeakref_ClearRef() from the public C API: move them to the internal C API.

Refactor also _weakref_getweakrefs() code to make it more readable.

Remove _PyWeakref_GetWeakrefCount() and _PyWeakref_ClearRef() from
the public C API: move them to the internal C API.

Refactor also _weakref_getweakrefs() code to make it more readable.
@vstinner vstinner requested a review from pablogsal as a code owner June 23, 2023 02:30
@vstinner vstinner enabled auto-merge (squash) June 23, 2023 02:58
@vstinner vstinner merged commit 6a80664 into python:main Jun 23, 2023
@vstinner vstinner deleted the weakref_internal_api branch June 27, 2023 23:17
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