mirror of
https://github.com/python/cpython.git
synced 2025-09-18 14:40:43 +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
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue