This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Isaac Muse
Recipients Antony.Lee, Isaac Muse, barneygale, brett.cannon, pitrou
Date 2020-03-06.01:46:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583459173.8.0.428115119706.issue39682@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-03-06 01:46:13Isaac Musesetrecipients: + Isaac Muse, brett.cannon, pitrou, Antony.Lee, barneygale
2020-03-06 01:46:13Isaac Musesetmessageid: <1583459173.8.0.428115119706.issue39682@roundup.psfhosted.org>
2020-03-06 01:46:13Isaac Muselinkissue39682 messages
2020-03-06 01:46:13Isaac Musecreate