diff options
author | Mark Shannon <mark@hotpy.org> | 2025-04-30 11:37:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-30 11:37:53 +0100 |
commit | 44e4c479fbf2c28605bd39303b1ce484753f6177 (patch) | |
tree | e81f9ef8e6d43f8900f7264d2e2fde708bcdaf72 /Python/instruction_sequence.c | |
parent | 0f23e84cda6a53a5db7a70f1e48f9773c335a9bd (diff) | |
download | cpython-44e4c479fbf2c28605bd39303b1ce484753f6177.tar.gz cpython-44e4c479fbf2c28605bd39303b1ce484753f6177.zip |
GH-124715: Move trashcan mechanism into `Py_Dealloc` (GH-132280)
Diffstat (limited to 'Python/instruction_sequence.c')
-rw-r--r-- | Python/instruction_sequence.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/instruction_sequence.c b/Python/instruction_sequence.c index b068e4fa3db..e2db46b4893 100644 --- a/Python/instruction_sequence.c +++ b/Python/instruction_sequence.c @@ -419,10 +419,8 @@ inst_seq_dealloc(PyObject *op) { _PyInstructionSequence *seq = (_PyInstructionSequence *)op; PyObject_GC_UnTrack(seq); - Py_TRASHCAN_BEGIN(seq, inst_seq_dealloc) PyInstructionSequence_Fini(seq); PyObject_GC_Del(seq); - Py_TRASHCAN_END } static int |