paul j3 added the comment:

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

----------
keywords: +needs review
priority: normal -> high
versions: +Python 3.6, Python 3.7 -Python 3.2, Python 3.3
Added file: http://bugs.python.org/file45944/dbldash.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14364>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to