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 1a3b2e9 commit d8451d0Copy full SHA for d8451d0
Python/optimizer.c
@@ -328,13 +328,6 @@ add_to_pending_deletion_list(_PyExecutorObject *self)
328
static void
329
uop_dealloc(PyObject *op) {
330
_PyExecutorObject *self = _PyExecutorObject_CAST(op);
331
-
332
- // Object might be already untracked if we are in a GC cycle (via tp_clear).
333
- // Avoid double-untracking.
334
- if (_PyObject_GC_IS_TRACKED(self)) {
335
- _PyObject_GC_UNTRACK(self);
336
- }
337
338
executor_invalidate(op);
339
assert(self->vm_data.code == NULL);
340
add_to_pending_deletion_list(self);
0 commit comments