Message363468
Brace expansion does not currently exist in Python's glob. You'd have to use a third party module to expand the braces and then run glob on each returned pattern, or use a third party module that implements a glob that does it for you. Shameless plug: Brace expansion: https://github.com/facelessuser/bracex Glob that does it for you (when the feature is enabled): https://github.com/facelessuser/wcmatch Now whether Python should integrate such behavior by default is another question. | |
| Date | User | Action | Args | | 2020-03-06 01:46:13 | Isaac Muse | set | recipients: + Isaac Muse, brett.cannon, pitrou, Antony.Lee, barneygale | | 2020-03-06 01:46:13 | Isaac Muse | set | messageid: <1583459173.8.0.428115119706.issue39682@roundup.psfhosted.org> | | 2020-03-06 01:46:13 | Isaac Muse | link | issue39682 messages | | 2020-03-06 01:46:13 | Isaac Muse | create | | |