gh-135801: Add the module parameter to compile() etc by serhiy-storchaka · Pull Request #139652 · python/cpython
Many functions related to compiling or parsing Python code, such as compile(), ast.parse(), symtable.symtable(), and importlib.InspectLoader.source_to_code() now allow to pass the module name used when filtering syntax warnings.
serhiy-storchaka
requested review from
AA-Turner,
Eclips4,
JelleZijlstra,
brettcannon,
carljm,
ericsnowcurrently,
iritkatriel,
isidentical,
lysnikolaou,
markshannon,
ncoghlan,
pablogsal,
tomasr8 and
warsaw
as code owners
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request
…139652) 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.