homepage

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.smith, gcbirzan, jeffknupp, kalt, paul.j3, python-dev, r.david.murray, wt
Date 2013年04月05日.16:40:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365180001.59.0.254709643516.issue13922@psf.upfronthosting.co.za>
In-reply-to
Content
There are several problems with the patch provided in msg156315
This description:
"Added patch so that only the first '--' is removed by an argparse.PARSE or argparse.REMAINDER argument."
should read
"Added patch so that only the first '--' is removed by arguments that are not argparse.PARSER or argparse.REMAINDER ."
The test that adds a third subparser with a nargs='...' argument does not test this change. It exercises both nargs types that are not affected by the change in argparse.py. As such older versions of argparse pass this test.
I thinking argparse.py change is correct (delete only the 1st '--'), though I'm not sure it addresses the concern of the original poster.
History
Date User Action Args
2013年04月05日 16:40:01paul.j3setrecipients: + paul.j3, bethard, eric.smith, kalt, r.david.murray, python-dev, wt, jeffknupp, gcbirzan
2013年04月05日 16:40:01paul.j3setmessageid: <1365180001.59.0.254709643516.issue13922@psf.upfronthosting.co.za>
2013年04月05日 16:40:01paul.j3linkissue13922 messages
2013年04月05日 16:40:01paul.j3create

AltStyle によって変換されたページ (->オリジナル) /