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 <>
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:

Glob that does it for you (when the feature is enabled):

Now whether Python should integrate such behavior by default is another question.
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: <>
2020-03-06 01:46:13Isaac Muselinkissue39682 messages
2020-03-06 01:46:13Isaac Musecreate