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 Andrew
Recipients Andrew
Date 2020-10-31.16:02:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604160176.59.0.918392301984.issue42220@roundup.psfhosted.org>
In-reply-to
Content
It's known that Linux and Windows shells process wildcards like '*' and '?' differently. Linux shell usually expands wildcards so the application gets list of files. In contrast, Windows passes the wildcards to application. So in cross-platform applications we have to expand wildcards manually only for windows. It may not be beautiful since it's usually not part of program's logic and seems kinda of arguments processing.
Could this problem be solved via adding optional functionality to argparse library? For instance some option 'expand_wildcards' in ArgumentParser constructor with default value False (in order to not break compatibility)?
History
Date User Action Args
2020-10-31 16:02:56Andrewsetrecipients: + Andrew
2020-10-31 16:02:56Andrewsetmessageid: <1604160176.59.0.918392301984.issue42220@roundup.psfhosted.org>
2020-10-31 16:02:56Andrewlinkissue42220 messages
2020-10-31 16:02:56Andrewcreate