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 bethard
Recipients bethard, eric.smith, kalt, wt
Date 2012-02-13.19:01:12
SpamBayes Score 0.0013155439
Marked as misclassified No
Message-id <1329159673.0.0.344914926286.issue13922@psf.upfronthosting.co.za>
In-reply-to
Content
See nargs=argparse.REMAINDER for an approach that doesn't require that first '--':

http://docs.python.org/library/argparse.html#nargs

But yeah, removing more than one '--' is probably a bug. Fixing it would be a little backwards incompatible though. Is it possible that anyone actually depends on the behavior of consuming multiple '--' arguments?
History
Date User Action Args
2012-02-13 19:01:13bethardsetrecipients: + bethard, eric.smith, kalt, wt
2012-02-13 19:01:12bethardsetmessageid: <1329159673.0.0.344914926286.issue13922@psf.upfronthosting.co.za>
2012-02-13 19:01:12bethardlinkissue13922 messages
2012-02-13 19:01:12bethardcreate