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 paul.j3
Recipients bethard, eric.araujo, maker, martin.panter, paul.j3, r.david.murray
Date 2016-12-17.17:52:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481997140.77.0.138681143526.issue14364@psf.upfronthosting.co.za>
In-reply-to
Content
I've copied 'dbldash.patch' over from http://bugs.python.org/issue13922.  I mistakenly added it to a closed issue.

The patch is old, and should be revised.  It is also missing tests for this '--opt=--' case, even though it solves it.   

I also reference this patch in http://bugs.python.org/issue9571, which tries to refine dbldash handling for PARSER, REMAINDER nargs.

I'm raising the priority on this because the issue has a come up a couple of times on Stackoverflow:

http://stackoverflow.com/questions/40685320/python-argparse-with-as-the-value
History
Date User Action Args
2016-12-17 17:52:20paul.j3setrecipients: + paul.j3, bethard, eric.araujo, r.david.murray, maker, martin.panter
2016-12-17 17:52:20paul.j3setmessageid: <1481997140.77.0.138681143526.issue14364@psf.upfronthosting.co.za>
2016-12-17 17:52:20paul.j3linkissue14364 messages
2016-12-17 17:52:20paul.j3create