summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 5e6a18e..5fa405d 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1878,7 +1878,7 @@ compile(n, filename)
else
co = NULL;
com_free(&sc);
- if (co != NULL)
+ if (co != NULL && filename[0] != '<')
optimizer(co);
return co;
}