Message153286
| Author |
bethard |
| Recipients |
bethard, eric.smith, kalt, wt |
| Date |
2012年02月13日.19:01:12 |
| SpamBayes Score |
0.0013155439 |
| Marked as misclassified |
No |
| Message-id |
<1329159673.0.0.344914926286.issue13922@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
See nargs=argparse.REMAINDER for an approach that doesn't require that first '--':
http://docs.python.org/library/argparse.html#nargs
But yeah, removing more than one '--' is probably a bug. Fixing it would be a little backwards incompatible though. Is it possible that anyone actually depends on the behavior of consuming multiple '--' arguments? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年02月13日 19:01:13 | bethard | set | recipients:
+ bethard, eric.smith, kalt, wt |
| 2012年02月13日 19:01:12 | bethard | set | messageid: <1329159673.0.0.344914926286.issue13922@psf.upfronthosting.co.za> |
| 2012年02月13日 19:01:12 | bethard | link | issue13922 messages |
| 2012年02月13日 19:01:12 | bethard | create |
|