paul j3 <ajipa...@gmail.com> added the comment:

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.

----------

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

Reply via email to