[issue16786] argparse doesn't offer localization interface for "version" action

2012-12-26 Thread Thorsten Kampe
New submission from Thorsten Kampe: The - deprecated - "version" keyword for argparse.ArgumentParser allowed for localization of the "show program's version number and exit" help text for -v/--version (output of "-h"/"--help") The new versio

[issue12193] Argparse does not work together with gettext and non-ASCII help text

2011-05-27 Thread Thorsten Kampe
Thorsten Kampe added the comment: "LANG=de_De" - should've been "LANG=de_DE". Sorry for wasting someone's time. I shouldn't write bug reports in the middle of the night. Sorry and thanks, Thorsten -- resolution:

[issue12193] Argparse does not work together with gettext and non-ASCII help text

2011-05-26 Thread Thorsten Kampe
Changes by Thorsten Kampe : Added file: http://bugs.python.org/file22140/script.mo ___ Python tracker <http://bugs.python.org/issue12193> ___ ___ Python-bugs-list mailin

[issue12193] Argparse does not work together with gettext and non-ASCII help text

2011-05-26 Thread Thorsten Kampe
Changes by Thorsten Kampe : Added file: http://bugs.python.org/file22139/script.de.po ___ Python tracker <http://bugs.python.org/issue12193> ___ ___ Python-bugs-list m

[issue12193] Argparse does not work together with gettext and non-ASCII help text

2011-05-26 Thread Thorsten Kampe
Changes by Thorsten Kampe : -- type: -> crash ___ Python tracker <http://bugs.python.org/issue12193> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12193] Argparse does not work together with gettext and non-ASCII help text

2011-05-26 Thread Thorsten Kampe
New submission from Thorsten Kampe : Error with argparse and UTF-8 non-ASCII help text on Linux (works on Windows and on Linux with optparse): % LANG=de_De ./script.py --help Traceback (most recent call last): File "./script.py", line 26, in args = cmdlineparser.parse_arg