Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner 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.
@vstinnervstinner requested a review from pablogsal as a code ownerJune 23, 2023 02:30
@vstinnervstinner enabled auto-merge (squash) June 23, 2023 02:58
@vstinnervstinner merged commit 6a80664 into python:mainJun 23, 2023
@vstinnervstinner deleted the weakref_internal_api branch June 27, 2023 23:17
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