New submission from gkraser <gkra...@gmail.com>: argparse.ArgumentParser not support unicode in print help.
Example: # -*- coding: utf-8 -*- import argparse import unittest class Test1(unittest.TestCase): def test_unicode_desc(self): h = u'Rus Рус' # unicode print h # ok parser = argparse.ArgumentParser(description=h) parser.print_help() # error ---------- components: Library (Lib) files: test_ap.py messages: 115630 nosy: gkraser priority: normal severity: normal status: open title: argparse.ArgumentParser not support unicode in print help type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file18757/test_ap.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9779> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com