◐ Shell
clean mode source ↗

Message 156315 - Python tracker

Message156315

Author jeffknupp
Recipients bethard, eric.smith, jeffknupp, kalt, r.david.murray, wt
Date 2012-03-19.04:52:42
SpamBayes Score 1.1373355e-06
Marked as misclassified No
Message-id <1332132764.04.0.0852390050518.issue13922@psf.upfronthosting.co.za>
In-reply-to
Content
Added patch so that only the first '--' is removed by an argparse.PARSE or argparse.REMAINDER argument. Note that, as Steven said, argparse.REMAINDER should be used in the OP's issue (and the added test makes sure all remaining arguments are preserved even if they appear in the parent parser).
History
Date User Action Args
2012-03-19 04:52:44jeffknuppsetrecipients: + jeffknupp, bethard, eric.smith, kalt, r.david.murray, wt
2012-03-19 04:52:44jeffknuppsetmessageid: <1332132764.04.0.0852390050518.issue13922@psf.upfronthosting.co.za>
2012-03-19 04:52:43jeffknupplinkissue13922 messages
2012-03-19 04:52:43jeffknuppcreate