Douglas Bagnall added the comment:

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.

----------
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24754>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to