mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Don't optimize <string> and <stdin> code
This commit is contained in:
parent
4965bc8ac4
commit
fb8edfce22
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue