Author michael-o
Recipients Michael.Felt, lukasz.langa, michael-o, vstinner
Date 2018-08-27.14:24:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Interesting is that the very same approach does not work for HP-UX even if I swap out the params for HP-UX:

$ ./python -m test test_utf8_mode
Run tests sequentially
0:00:00 [1/1] test_utf8_mode
test test_utf8_mode failed -- Traceback (most recent call last):
  File "/var/osipovmi/cpython/Lib/test/", line 226, in test_cmd_line
    check('utf8=0', [c_arg], LC_ALL='C')
  File "/var/osipovmi/cpython/Lib/test/", line 217, in check
    self.assertEqual(args, ascii(expected), out)
AssertionError: "['h\\xc3\\xa9\\xe2\\x82\\xac']" != "['h\\xfb\\u02cb\\xe3\\x82\\u02dc']"
- ['h\xc3\xa9\xe2\x82\xac']
+ ['h\xfb\u02cb\xe3\x82\u02dc']
 : roman8:['h\xc3\xa9\xe2\x82\xac']
Date User Action Args
2018-08-27 14:24:43michael-osetrecipients: + michael-o, vstinner, lukasz.langa, Michael.Felt
2018-08-27 14:24:43michael-osetmessageid: <>
2018-08-27 14:24:43michael-olinkissue34347 messages
2018-08-27 14:24:43michael-ocreate