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 Andrei.Vereha, Radu.Ciorba, Sam.Breese, bethard, idank, paul.j3, r.david.murray
Date 2013-04-29.07:01:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367218915.36.0.347731327946.issue16142@psf.upfronthosting.co.za>
In-reply-to
Content
Correction: The patch I gave in the last message produces:

    >>> parser.parse_known_args(['-ku'])
    (Namespace(known=False), ['u'])

It doesn't take action on the '-k', and puts 'u' in extras, not '-u'.

This new patch gets it right:

    >>> parser.parse_known_args(['-ku'])
    (Namespace(known=True), ['-u'])

We need more test cases, including ones that work as expected with optparse or other unix parsers.
History
Date User Action Args
2013-04-29 07:01:55paul.j3setrecipients: + paul.j3, bethard, r.david.murray, idank, Sam.Breese, Radu.Ciorba, Andrei.Vereha
2013-04-29 07:01:55paul.j3setmessageid: <1367218915.36.0.347731327946.issue16142@psf.upfronthosting.co.za>
2013-04-29 07:01:55paul.j3linkissue16142 messages
2013-04-29 07:01:55paul.j3create