Vajrasky Kok added the comment: Here is the patch to accommodate Serhiy's request. I added new test soutside CommandLineTest. The fix always uses sys.stdout.encoding. The test_list_command and test_list_command_verbose uses testtarnames now.
---------- Added file: http://bugs.python.org/file33790/fix_tarfile_list_print_lone_surrogate_v4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19920> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com