[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>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue38347>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue38347>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

fixes this. I am not sure if you want to allow further characters in script 
names like spaces or other special characters. The pull request I will create 
will only fix the '-' issue.

--
components: Demos and Tools
messages: 353728
nosy: rpluem
priority: normal
severity: normal
status: open
title: pathfix.py does not find Python scripts that have '-' in its filename
type: behavior
versions: Python 3.9

___
Python tracker 
<https://bugs.python.org/issue38347>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com