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 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 <>
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).
Date User Action Args
2013-01-18 10:55:00terry.reedysetrecipients: + terry.reedy, bethard, r.david.murray, chris.jerdonek
2013-01-18 10:55:00terry.reedysetmessageid: <>
2013-01-18 10:55:00terry.reedylinkissue16468 messages
2013-01-18 10:54:59terry.reedycreate