Open
Description
Checklist
- I am confident this is a bug in CPython, not a bug in a third-party project
- I have searched the CPython issue tracker,
and am confident this bug has not been reported before
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
No response
A clear and concise description of the bug:
There are two objects(PyDecContextObject
and PyDecObject
) using PyObject_GC_New
in the decimal
module, but PyObject_GC_Track
is not added to their constructors.
PyDecContextObject:
cpython/Modules/_decimal/_decimal.c
Lines 1334 to 1380 in a794ebe
PyDecObject:
cpython/Modules/_decimal/_decimal.c
Lines 2002 to 2028 in a794ebe