You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash in clear_weakref() for ParamSpecArgs/ParamSpecKwargs #157621
gh-108517 (fix for gh-108295) added PyObject_ClearWeakRefs() to typevar_dealloc, paramspec_dealloc, and typevartuple_dealloc, but missed paramspecattr_dealloc(). Both paramspecargs_spec and paramspeckwargs_spec set Py_TPFLAGS_MANAGED_WEAKREF, so the same crash from gh-108295 still occurs for ParamSpec(...).args and ParamSpec(...).kwargs.
Activity
pythongh-157621: Add NEWS entry
pythongh-157621: Fix NEWS fragment filename
gh-157621: Clear weakrefs for ParamSpec attributes (#157622)
[3.13] gh-157621: Clear weakrefs for ParamSpec attributes (GH-157622) (…
[3.15] gh-157621: Clear weakrefs for ParamSpec attributes (GH-157622) (…