Skip to content

remove unnecessary tp_dealloc#13647

Merged
methane merged 1 commit intopython:masterfrom
methane:object_dealloc
May 29, 2019
Merged

remove unnecessary tp_dealloc#13647
methane merged 1 commit intopython:masterfrom
methane:object_dealloc

Conversation

@methane
Copy link
Copy Markdown
Member

@methane methane commented May 29, 2019

object_dealloc does Py_TYPE(o)->tp_free(o).
No customize, no override.

@methane methane changed the title stop overriding tp_dealloc when it is not necessary remove unnecessary tp_dealloc May 29, 2019
@methane methane merged commit 7d40869 into python:master May 29, 2019
@methane methane deleted the object_dealloc branch May 29, 2019 08:23
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
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.

3 participants