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

2020-11-25 Thread Petr Viktorin
Petr Viktorin added the comment: Note that the pathfix comment says: # Directories are searched recursively for files whose name looks # like a python module. Files with a dash are *not* Python modules, since they can't be imported. Should the comment (which is the only documentation for pat

[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 ___ ___ Python-bugs-li

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

2019-10-11 Thread STINNER Victor
STINNER Victor 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 3.6 doesn't accept bugfixes upstream. If you are a Red Hat customer, you can contact the

[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 __

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

2019-10-11 Thread STINNER Victor
STINNER Victor added the comment: Thanks Ruediger Pluem: I merged your change into master and backported to 3.8 and 3.7. For the 3.7 backport, I skipped tests. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Pyth

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

2019-10-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset ed189ce49423f15ba8774ff174c15d03d12bc807 by Victor Stinner in branch '3.7': bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536) (GH-16719) https://github.com/python/cpython/commit/ed189ce49423f15ba8774ff174c15d03d12bc

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

2019-10-11 Thread miss-islington
miss-islington added the comment: New changeset 73665b41470532f873315d5ae39906160192320d by Miss Islington (bot) in branch '3.8': bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536) https://github.com/python/cpython/commit/73665b41470532f873315d5ae39906160192320d

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

2019-10-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16296 pull_request: https://github.com/python/cpython/pull/16719 ___ Python tracker ___ __

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

2019-10-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +16295 pull_request: https://github.com/python/cpython/pull/16718 ___ Python tracker ___ __

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

2019-10-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2b7dc40b2af6578181808ba73c1533fc114e55df by Victor Stinner (Ruediger Pluem) in branch 'master': bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536) https://github.com/python/cpython/commit/2b7dc40b2af6578181808ba73c153

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

2019-10-02 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[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 ___

[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$'