cpython/Modules/_zstd
Miss Islington (bot) 07a2033fcf
[3.14] gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ (GH-133962) (#134305)
gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ (GH-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 e575190abb)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-05-20 02:58:51 +00:00
..
clinic [3.14] gh-132983: Convert zstd `__new__` methods to Argument Clinic (GH-133860) (#133915) 2025-05-20 03:25:24 +01:00
_zstdmodule.c [3.14] gh-132983: Convert zstd `__new__` methods to Argument Clinic (GH-133860) (#133915) 2025-05-20 03:25:24 +01:00
_zstdmodule.h [3.14] gh-132983: Convert zstd `__new__` methods to Argument Clinic (GH-133860) (#133915) 2025-05-20 03:25:24 +01:00
buffer.h [3.14] gh-132983: Convert zstd `__new__` methods to Argument Clinic (GH-133860) (#133915) 2025-05-20 03:25:24 +01:00
compressor.c [3.14] gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ (GH-133962) (#134305) 2025-05-20 02:58:51 +00:00
decompressor.c [3.14] gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ (GH-133962) (#134305) 2025-05-20 02:58:51 +00:00
zstddict.c [3.14] gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ (GH-133962) (#134305) 2025-05-20 02:58:51 +00:00
zstddict.h [3.14] gh-132983: Convert zstd `__new__` methods to Argument Clinic (GH-133860) (#133915) 2025-05-20 03:25:24 +01:00