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 eric.smith, jol, paul.j3
Date 2019-07-07.19:16:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562527013.81.0.616695553128.issue37510@roundup.psfhosted.org>
In-reply-to
Content
https://bugs.python.org/file29845/dbldash.patch

while written against an earlier version of `argparse`, does what you want.  I moved the '--' removal out of `_get_values` and into `consume_positionals`.

Note that a full patch should include test cases and documentation changes if any.  

Also now github pull requests are the preferred patching route.  But don't expect rapid response on this.  The issue has been around for a long time without causing too many complaints.  

Backward compatibility is always a concern when making changes to core functionality.  We don't want to mess with someone's working code. 
 Though I doubt if there are many users who count on multiple '--' removals, one way or other.  The argparse docs explicity calls this a 'pseudo-argument'.
History
Date User Action Args
2019-07-07 19:16:53paul.j3setrecipients: + paul.j3, eric.smith, jol
2019-07-07 19:16:53paul.j3setmessageid: <1562527013.81.0.616695553128.issue37510@roundup.psfhosted.org>
2019-07-07 19:16:53paul.j3linkissue37510 messages
2019-07-07 19:16:53paul.j3create