aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2025-04-30 11:37:53 +0100
committerGitHub <noreply@github.com>2025-04-30 11:37:53 +0100
commit44e4c479fbf2c28605bd39303b1ce484753f6177 (patch)
treee81f9ef8e6d43f8900f7264d2e2fde708bcdaf72 /Python/bltinmodule.c
parent0f23e84cda6a53a5db7a70f1e48f9773c335a9bd (diff)
downloadcpython-44e4c479fbf2c28605bd39303b1ce484753f6177.tar.gz
cpython-44e4c479fbf2c28605bd39303b1ce484753f6177.zip
GH-124715: Move trashcan mechanism into `Py_Dealloc` (GH-132280)
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 8ed0a96270b..3221d5acf96 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -566,11 +566,9 @@ filter_dealloc(PyObject *self)
{
filterobject *lz = _filterobject_CAST(self);
PyObject_GC_UnTrack(lz);
- Py_TRASHCAN_BEGIN(lz, filter_dealloc)
Py_XDECREF(lz->func);
Py_XDECREF(lz->it);
Py_TYPE(lz)->tp_free(lz);
- Py_TRASHCAN_END
}
static int