◐ Shell
clean mode source ↗

gh-111178: Fix PyRangeIter_Type deallocator by vstinner · Pull Request #131162 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

vstinner

merged 1 commit into

Mar 13, 2025

Conversation

@vstinner

@vstinner vstinner commented

Mar 12, 2025

edited by bedevere-app Bot

Loading

Don't use PyObject_Free() as tp_dealloc to avoid an undefined
behavior. Instead, use the default deallocator which just calls
tp_free which is PyObject_Free().

plashchynski pushed a commit to plashchynski/cpython that referenced this pull request

Mar 17, 2025
Don't use PyObject_Free() as tp_dealloc to avoid an undefined
behavior. Instead, use the default deallocator which just calls
tp_free which is PyObject_Free().

Labels

1 participant

@vstinner