Author bochecha
Recipients bochecha, eric.araujo, eric.smith, fdrake, kveretennicov, pitrou, r.david.murray, ronaldoussoren, tim.golden
Date 2010-10-31.20:47:12
SpamBayes Score 3.48461e-08
Marked as misclassified No
Message-id <>
I finally found the time to follow up on this issue, sorry for the absence of response.

The thread on Python-Ideas didn't really lead to a consensus (nor did it generate a lot of discussion).

Some wanted to see this in fnmatch, others in glob and others in shutils. Most thought glob was the appropriate place though, and this is also my opinion.

From the Python documentation, fnmatch is a « Unix filename pattern matching » while glob is a « Unix style pathname pattern expansion ».

This makes it clear to me that curly expansion has its place in glob, that would then use fnmatch to match the resulting list of expanded paths.

Here is a patch against the py3k branch.

The patch contains both the implementation, unit tests, and some changes to the documentation.

Note that could I only run the unit tests on Linux (Fedora 14 x86_64) which is the only system I have at hand.
Date User Action Args
2010-10-31 20:47:17bochechasetrecipients: + bochecha, fdrake, ronaldoussoren, pitrou, eric.smith, tim.golden, kveretennicov, eric.araujo, r.david.murray
2010-10-31 20:47:17bochechasetmessageid: <>
2010-10-31 20:47:15bochechalinkissue9584 messages
2010-10-31 20:47:15bochechacreate