Serhiy Storchaka added the comment:

>>> glob.glob('*.ac')
['configure.ac']
>>> glob.glob('*.sub')
['config.sub']
>>> glob.glob('*.{sub,ac}')
['config.sub']

And since these changes are backward incompatible (and moreover, now it is 
impossible to glob for paths that contain braces), I would prefer a keyword to 
switch this option (off by default) or a separate function.  See "man glob" [1] 
for flag GLOB_BRACE.

[1] http://linux.die.net/man/3/glob

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9584>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to