| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Many functions related to compiling or parsing Python code, such as
compile(), ast.parse(), symtable.symtable(),
and importlib.abc.InspectLoader.source_to_code() now allow to pass
the module name used when filtering syntax warnings.
|
| |
|
|
|
|
| |
ast.parse() no longer emits syntax warnings for
return/break/continue in finally (see PEP-765) -- they are only
emitted during compilation.
|
| |
|
|
| |
This is required so we would never have empty node bodies.
Refs #130087
|
|
|
moving const folding to the peephole optimizier (#131830)
|