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 paul.j3
Recipients Zach Beniash, paul.j3
Date 2019-08-12.15:40:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565624458.61.0.158589287317.issue37564@roundup.psfhosted.org>
In-reply-to
Content
This patch lacks proper documentation, and is too English language specific.

For users who assume 'type' means a class rather than function (callable) this change does not need documentation, since it accommodates that assumption.  But more experienced users, or ones who read the documentation with care, this change could be puzzling.  "Why does 'bool' work?"  Admittedly they are unlikely to try it.  Still, we are deviating the documented behavior.

We also need to pay attention to internationalization.  Argparse wraps most error messages and string displays in 'gettext'.  There isn't any other part of argparse that assumes that sys.argv strings have English meanings.
History
Date User Action Args
2019-08-12 15:40:58paul.j3setrecipients: + paul.j3, Zach Beniash
2019-08-12 15:40:58paul.j3setmessageid: <1565624458.61.0.158589287317.issue37564@roundup.psfhosted.org>
2019-08-12 15:40:58paul.j3linkissue37564 messages
2019-08-12 15:40:58paul.j3create