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

This commit is contained in:
Guido van Rossum 1991-05-14 11:56:03 +00:00
parent 4965bc8ac4
commit fb8edfce22
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}