Message180186
| Author |
terry.reedy |
| Recipients |
bethard, chris.jerdonek, r.david.murray, terry.reedy |
| Date |
2013年01月18日.10:54:59 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1358506500.14.0.984931157886.issue16468@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
If you can somewhat solve the problem by better using the existing api, good. I am not 'stuck' on reusing str/repr*. If metavar is non-optional for non-iterable choices, the doc should say so in the entry for choices. (Does the test suite already have a testcase already for non-iterable choices + metavar?)
If you can solve it even better and remove that limitation by extending the 'default_metaver' idea from positional and optional args to choices ('choiced' args), even better.
I think the refactoring may still be needed, especially for #16418, but that is that issue.
* My main concern is that the attempt to provide helpful info to end users not hang or kill a program. IDLE used to sometimes quit while attempting to provide a nice calltip (#12510). It currently quits on Windows when attempting to warn users about bad custom configuration (#14576). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年01月18日 10:55:00 | terry.reedy | set | recipients:
+ terry.reedy, bethard, r.david.murray, chris.jerdonek |
| 2013年01月18日 10:55:00 | terry.reedy | set | messageid: <1358506500.14.0.984931157886.issue16468@psf.upfronthosting.co.za> |
| 2013年01月18日 10:55:00 | terry.reedy | link | issue16468 messages |
| 2013年01月18日 10:54:59 | terry.reedy | create |
|