8000 bpo-38347: find Python scripts whose name contain a '-' by rpluem · Pull Request #16536 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-38347: find Python scripts whose name contain a '-' #16536

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 19 commits into from
Oct 11, 2019
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
Next Next commit
bpo-38347: find Python scripts whose name contain a '-'
Allow Python scripts to contain a '-' in their filename when working
recursively.
  • Loading branch information
rpluem committed Oct 2, 2019
commit 94047a57bd34d23ca009bcf81cedf88a254f8efe
2 changes: 1 addition & 1 deletion Tools/scripts/pathfix.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def main():
sys.exit(bad)


ispythonprog = re.compile(r'^[a-zA-Z0-9_]+\.py$')
ispythonprog = re.compile(r'^[a-zA-Z0-9_-]+\.py$')


def ispython(name):
Expand Down
0