[issue30152] Reduce the number of imports for argparse

Serhiy Storchaka report at bugs.python.org
Fri Apr 28 01:43:16 EDT 2017


Serhiy Storchaka added the comment:

I just realized that is is not so easy to avoid gettext import. gettext is used in the ArgumentParser constructor for localizing names of default groups and the default help (besides they are used only for formatting help). This adds importing the locale module.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30152>
_______________________________________


More information about the Python-bugs-list mailing list