commit | fb8edfce22dccfb0014f4f43b1735d7e42e80c45 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue May 14 11:56:03 1991 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue May 14 11:56:03 1991 +0000 |
tree | 6da9f826318790c01bd09b6b437382d0f8a6ef0d | |
parent | 4965bc8ac4c9922f87ec7bfa839a85c95f411a5c [diff] [blame] |
Don't optimize <string> and <stdin> code
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 @@ else co = NULL; com_free(&sc); - if (co != NULL) + if (co != NULL && filename[0] != '<') optimizer(co); return co; }