8000 gh-93939: Add script to check extension modules by tiran · Pull Request #94545 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-93939: Add script to check extension modules #94545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use raw strings for regular expressions.
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
tiran and vstinner authored Jul 4, 2022
commit bcaf25c86492126c41dca01f92493d5659c06635
2 changes: 1 addition & 1 deletion Tools/scripts/check_extension_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def get_sysconfig_modules(self) -> Iterable[ModuleInfo]:

def parse_setup_file(self, setup_file: pathlib.Path) -> Iterable[ModuleInfo]:
"""Parse a Modules/Setup file"""
assign_var = re.compile("^\w+=") # EGG_SPAM=foo
assign_var = re.compile(r"^\w+=") # EGG_SPAM=foo
# default to static module
state = ModuleState.BUILTIN
logger.debug("Parsing Setup file %s", setup_file)
Expand Down
0