summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/compile.c b/Python/compile.c
index a3ea60d..a3fcd53 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -5273,11 +5273,6 @@ compute_code_flags(struct compiler *c)
/* (Only) inherit compilerflags in PyCF_MASK */
flags |= (c->c_flags->cf_flags & PyCF_MASK);
- if (!PyDict_GET_SIZE(c->u->u_freevars) &&
- !PyDict_GET_SIZE(c->u->u_cellvars)) {
- flags |= CO_NOFREE;
- }
-
return flags;
}