diff options
author | Guido van Rossum <guido@python.org> | 1991-05-14 11:56:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-05-14 11:56:03 (GMT) |
commit | fb8edfce22dccfb0014f4f43b1735d7e42e80c45 (patch) | |
tree | 6da9f826318790c01bd09b6b437382d0f8a6ef0d /Python/compile.c | |
parent | 4965bc8ac4c9922f87ec7bfa839a85c95f411a5c (diff) | |
download | cpython-fb8edfce22dccfb0014f4f43b1735d7e42e80c45.zip cpython-fb8edfce22dccfb0014f4f43b1735d7e42e80c45.tar.gz cpython-fb8edfce22dccfb0014f4f43b1735d7e42e80c45.tar.bz2 |
Don't optimize <string> and <stdin> code
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 2 |
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; } |