gh-135801: Add the module parameter to compile() etc (GH-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.
S
Serhiy Storchaka committed
d8e6bdc0d083f4e76ac49574544555ad91257592
Parent: 63548b3
Committed by GitHub <noreply@github.com>
on 11/13/2025, 11:21:32 AM