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 krichter
Recipients josh.r, krichter, paul.j3, r.david.murray
Date 2014-05-28.10:09:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401271767.19.0.149990282687.issue21208@psf.upfronthosting.co.za>
In-reply-to
Content
@paul.j3 That's interesting [1]. Documenting argparse.register seems crucial to me (-> reopen or file a new request?). 

After dealing more with the very sophisticated and complex functionality of argparse I'm sure that this is the only use case where such an unintuitive result may happen, so it's worth adding an explicit negative example in the docs of argparse.add_argument with a hint to the docs about "way that argparse handles types".

----------
[1] (and a very good example for missing capabilities of Q&A sites with regard to the relation of votes of your much better answer and the one with the highest number of votes)
History
Date User Action Args
2014-05-28 10:09:27krichtersetrecipients: + krichter, r.david.murray, paul.j3, josh.r
2014-05-28 10:09:27krichtersetmessageid: <1401271767.19.0.149990282687.issue21208@psf.upfronthosting.co.za>
2014-05-28 10:09:27krichterlinkissue21208 messages
2014-05-28 10:09:25krichtercreate