[Python-ideas] Add OS-dependent automatic glob support

Steven D'Aprano steve at pearwood.info
Wed Jan 7 01:42:50 CET 2015


On Wed, Jan 07, 2015 at 12:11:51AM +0100, Victor Stinner wrote:
> Hi,
> 
> This idea was already proposed as part of a larger PEP:
> https://www.python.org/dev/peps/pep-0471/#wildcard-support
> 
> The PEP explains why the Windows wildcard idea was rejected.

The Windows wildcard idea was rejected in the context of a faster 
os.walk, not globbing.

The PEP is inaccurate: it gives the wrong Python-Ideas thread for 
discussions on the wildcard idea. The wildcard idea is discussed in this 
thread:

https://mail.python.org/pipermail/python-ideas/2012-November/017965.html

not in the thread given in the PEP. Well, I say "discussed", but it's 
mostly ignored, with only a couple of comments.

There's somewhat more discussion on Python-Dev:

https://mail.python.org/pipermail/python-dev/2014-June/135217.html

but it's mostly people just saying "-1 on wildcards".

I agree with this decision, for PEP 471. But I don't believe this is 
relevant to the question of explicit globbing.



-- 
Steve


More information about the Python-ideas mailing list