[issue9779] argparse.ArgumentParser not support unicode in print help

2016-02-01 Thread Mark Stern
Mark Stern added the comment: This bit me also. For anybody else reading this, argparsenobug.py includes a class that provides a workaround. python argparsebug.py --help works, but: python argparsebug.py --help > python argparsebug.py --help | more give the error. However: pyt

[issue9779] argparse.ArgumentParser not support unicode in print help

2016-02-01 Thread Mark Stern
Mark Stern added the comment: And here is the source code with the workaround class -- Added file: http://bugs.python.org/file41775/argparsenobug.py ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/