8000 gh-118789: Restore hidden `_PyWeakref_ClearRef` by colesbury · Pull Request #118797 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-118789: Restore hidden _PyWeakref_ClearRef #118797

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Only address _PyWeakref_ClearRef in this PR
  • Loading branch information
colesbury committed May 8, 2024
commit bad74c272ccd5eefd8b5f8b16732f640ff76dc8b
2 changes: 1 addition & 1 deletion Include/internal/pycore_weakref.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ extern Py_ssize_t _PyWeakref_GetWeakrefCount(PyObject *obj);

// Clear all the weak references to obj but leave their callbacks uncalled and
// intact.
PyAPI_FUNC(void) _PyWeakref_ClearWeakRefsExceptCallbacks(PyObject *obj);
extern void _PyWeakref_ClearWeakRefsExceptCallbacks(PyObject *obj);

PyAPI_FUNC(int) _PyWeakref_IsDead(PyObject *weakref);

Expand Down
Loading
0