Sorry, something went wrong.
|
|
||
| def __call__(self, source, filename, symbol): | ||
| codeob = compile(source, filename, symbol, self.flags, 1) | ||
| codeob = compile(source, filename, symbol, self.flags, True) |
There was a problem hiding this comment.
I'm not sure that's OK.
https://docs.python.org/3.9/library/functions.html#compile
The argument optimize specifies the optimization level of the compiler; the default value of -1 selects the optimization level of the interpreter as given by -O options. Explicit levels are 0 (no optimization; debug is true), 1 (asserts are removed, debug is false) or 2 (docstrings are removed too).
Sorry, something went wrong.
There was a problem hiding this comment.
It is dont_inherit, not optimize.
Sorry, something went wrong.
There was a problem hiding this comment.
Oops, sorry.
Sorry, something went wrong.
https://bugs.python.org/issue15999