PyDecContextObject
and PyDecObject
in decimal module are missing PyObject_GC_Track
#107994
Open
2 tasks done
Labels
Checklist
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
andPyDecObject
) usingPyObject_GC_New
in thedecimal
module, butPyObject_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
The text was updated successfully, but these errors were encountered: