Message174974
>>> 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 |
|
Date |
User |
Action |
Args |
2012-11-06 15:06:18 | serhiy.storchaka | set | recipients:
+ 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:18 | serhiy.storchaka | set | messageid: <1352214378.87.0.42140436558.issue9584@psf.upfronthosting.co.za> |
2012-11-06 15:06:18 | serhiy.storchaka | link | issue9584 messages |
2012-11-06 15:06:18 | serhiy.storchaka | create | |
|