Message155019
| Author |
guilherme-pg |
| Recipients |
bethard, guilherme-pg, v+python |
| Date |
2012年03月06日.15:11:21 |
| SpamBayes Score |
5.614953e-10 |
| Marked as misclassified |
No |
| Message-id |
<1331046682.52.0.546159934997.issue14191@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I uploaded an incomplete patch that might address the issue so it can be discussed.
This patch introduces 'greedy_star', a new constructor parameter to ArgumentParser that makes "*" positional arguments behave as expected in the test case.
The patch doesn't yet update the documentation and doesn't include test cases, but I'll be glad to provide those changes in a next version.
It is admittedly hackish, but I haven't found a better solution so far. Looking forward for your comments. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年03月06日 15:11:22 | guilherme-pg | set | recipients:
+ guilherme-pg, bethard, v+python |
| 2012年03月06日 15:11:22 | guilherme-pg | set | messageid: <1331046682.52.0.546159934997.issue14191@psf.upfronthosting.co.za> |
| 2012年03月06日 15:11:21 | guilherme-pg | link | issue14191 messages |
| 2012年03月06日 15:11:21 | guilherme-pg | create |
|