Message188038
| 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. |
|