[issue38347] pathfix.py does not find Python scripts that have '-' in its filename

2019-10-18 Thread Rüdiger Plüm
Rüdiger Plüm added the comment: Thanks for the information. I opened a support request. -- ___ Python tracker <https://bugs.python.org/issue38347> ___ ___ Pytho

[issue38347] pathfix.py does not find Python scripts that have '-' in its filename

2019-10-11 Thread Rüdiger Plüm
Rüdiger Plüm added the comment: Welcome Victor Stinner. Any chance to get it also backported to 3.6 as I guess this would increase the chance to see it in RedHat 8 where I hit the issue? -- ___ Python tracker <https://bugs.python.org/issue38

[issue38347] pathfix.py does not find Python scripts that have '-' in its filename

2019-10-02 Thread Rüdiger Plüm
Change by Rüdiger Plüm : -- keywords: +patch pull_requests: +16125 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16536 ___ Python tracker <https://bugs.python.org/issu

[issue38347] pathfix.py does not find Python scripts that have '-' in its filename

2019-10-02 Thread Rüdiger Plüm
New submission from Rüdiger Plüm : Tools/scripts/pathfix.py does not find Python scripts that contain a '-' in their filename when working recursively. This is caused by the regular expression used to detect whether a filename is a Python script: r'^[a-zA-Z0-9_]+\.py$' r'^[a-zA-Z0-9_-]+\.py