Author serhiy.storchaka
Recipients akuchling, bochecha, eric.araujo, eric.smith, ezio.melotti, fdrake, kveretennicov, pitrou, python-dev, r.david.murray, ronaldoussoren, serhiy.storchaka, tim.golden
Date 2012-11-06.15:06:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352214378.87.0.42140436558.issue9584@psf.upfronthosting.co.za>
In-reply-to
Content
>>> 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
History
Date User Action Args
2012-11-06 15:06:18serhiy.storchakasetrecipients: + serhiy.storchaka, fdrake, akuchling, ronaldoussoren, pitrou, eric.smith, tim.golden, kveretennicov, ezio.melotti, eric.araujo, r.david.murray, bochecha, python-dev
2012-11-06 15:06:18serhiy.storchakasetmessageid: <1352214378.87.0.42140436558.issue9584@psf.upfronthosting.co.za>
2012-11-06 15:06:18serhiy.storchakalinkissue9584 messages
2012-11-06 15:06:18serhiy.storchakacreate