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 Leon Avery
Recipients Leon Avery
Date 2017-07-24.13:40:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500903609.87.0.148585957188.issue31012@psf.upfronthosting.co.za>
In-reply-to
Content
In the argparse module, the argument '--' is interpreted as a signal that everything after it is a positional argument. '--' is literally written into the argparse code, in _parse_known_args. This means that a user who wishes to use '--' in some other way is out of luck. 

I suggest the addition of an argument to __init__ (or a method call, or something) that allows '--' to be replaced with some string of the user's choice.
History
Date User Action Args
2017-07-24 13:40:09Leon Averysetrecipients: + Leon Avery
2017-07-24 13:40:09Leon Averysetmessageid: <1500903609.87.0.148585957188.issue31012@psf.upfronthosting.co.za>
2017-07-24 13:40:09Leon Averylinkissue31012 messages
2017-07-24 13:40:09Leon Averycreate