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 dbagnall
Recipients dbagnall, paul.j3, r.david.murray
Date 2015-08-03.23:06:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438643210.38.0.734201537877.issue24754@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks paul.j3 and r.david.murray,

I see your points.

What led me to this was automatically generating command line options from a Gstreamer element, mapping
the Gstreamer property types to Python types. Then I special-cased the action="store_true" for the boolean ones and was surprised by the somewhat unclear error message.

As you suggest, paul.j3, "type" is in some ways an unfortunate choice of keyword for this, but it too late to change that.
History
Date User Action Args
2015-08-03 23:06:50dbagnallsetrecipients: + dbagnall, r.david.murray, paul.j3
2015-08-03 23:06:50dbagnallsetmessageid: <1438643210.38.0.734201537877.issue24754@psf.upfronthosting.co.za>
2015-08-03 23:06:50dbagnalllinkissue24754 messages
2015-08-03 23:06:50dbagnallcreate