We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf2a1e commit db5dae1Copy full SHA for db5dae1
1 file changed
Include/cpython/object.h
@@ -494,7 +494,6 @@ PyAPI_FUNC(int) _Py_ReachedRecursionLimitWithMargin(PyThreadState *tstate, int m
494
#define Py_TRASHCAN_BEGIN(op, dealloc) \
495
do { \
496
PyThreadState *tstate = PyThreadState_Get(); \
497
- /* TODO(picnixz): remove cast to detect incorrect macro usages */ \
498
if (_Py_ReachedRecursionLimitWithMargin(tstate, 2) && Py_TYPE(op)->tp_dealloc == (destructor)dealloc) { \
499
_PyTrash_thread_deposit_object(tstate, (PyObject *)op); \
500
break; \
0 commit comments