Serhiy Storchaka added the comment:

>>> glob.glob('*.ac')
>>> glob.glob('*.sub')
>>> glob.glob('*.{sub,ac}')

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.


nosy: +serhiy.storchaka

Python tracker <>
Python-bugs-list mailing list

Reply via email to