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 jeffknupp
Recipients bethard, eric.smith, jeffknupp, kalt, r.david.murray, wt
Date 2012-03-18.18:14:55
SpamBayes Score 4.000804e-09
Marked as misclassified No
Message-id <CALnvysJvNPFhpzRTRZOnEFvOL9jgrWYu0aOx15X03u0opDtHeA@mail.gmail.com>
In-reply-to <1332091973.06.0.223121095397.issue13922@psf.upfronthosting.co.za>
Content
In that case, wouldn't you use 'parse_known_args' instead of 'parse_args'
and pass the remaining arguments to the next script? This case is
explicitly mentioned in the argparse documentation. Again it seems to me
that the meaning of '--' has changed slightly between optparse and
argparse. Whether or not that was correct or intended is perhaps another
isssue.

On Sun, Mar 18, 2012 at 1:32 PM, Eric V. Smith <report@bugs.python.org>wrote:

>
> Eric V. Smith <eric@trueblade.com> added the comment:
>
> I agree with David. It's a bug. I have programs (not using argparse yet)
> that do exactly what he describes.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue13922>
> _______________________________________
>
History
Date User Action Args
2012-03-18 18:14:56jeffknuppsetrecipients: + jeffknupp, bethard, eric.smith, kalt, r.david.murray, wt
2012-03-18 18:14:56jeffknupplinkissue13922 messages
2012-03-18 18:14:55jeffknuppcreate