Kaydet (Commit) fb8edfce authored tarafından Guido van Rossum's avatar Guido van Rossum

Don't optimize <string> and <stdin> code

üst 4965bc8a
...@@ -1878,7 +1878,7 @@ compile(n, filename) ...@@ -1878,7 +1878,7 @@ compile(n, filename)
else else
co = NULL; co = NULL;
com_free(&sc); com_free(&sc);
if (co != NULL) if (co != NULL && filename[0] != '<')
optimizer(co); optimizer(co);
return co; return co;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment