Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 20, 2025

Call Py_XDECREF rather than PyObject_GC_Del in failed new

This will call tp_dealloc and clear all members.
(cherry picked from commit e575190)

Co-authored-by: Petr Viktorin [email protected]

…d __new__ (pythonGH-133962)

Call Py_XDECREF rather than PyObject_GC_Del in failed __new__

This will call tp_dealloc and clear all members.
(cherry picked from commit e575190)

Co-authored-by: Petr Viktorin <[email protected]>
@AA-Turner AA-Turner merged commit 07a2033 into python:3.14 May 20, 2025
48 checks passed
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