Author xdegaye
Recipients martin.panter, xdegaye
Date 2016-12-18.17:54:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482083683.83.0.952255215821.issue28997@psf.upfronthosting.co.za>
In-reply-to
Content
Checking that the the problem is indeed an encoding problem on Android with readline.set_pre_input_hook(): with tracing_the_completer_2.patch that replaces '\xEB' with 'A', the test now succeeds and prints:

test_nonascii (test.test_readline.TestReadline) ... bytearray(b"^A^B^B^B^B^B^B^B\t\tx\t\r\n[\\303\\257nserted]|tA[after]\x08\x08\x08\x08\x08\x08\x08text \'tA\'\r\nline \'[\\xefnserted]|tA[after]\'\r\nindexes 11 13\r\n\x07text \'tA\'\r\nline \'[\\xefnserted]|tA[after]\'\r\nindexes 11 13\r\nsubstitution \'tA\'\r\nmatches [\'tAnt\', \'tAxt\']\r\nx[after]\x08\x08\x08\x08\x08\x08\x08t[after]\x08\x08\x08\x08\x08\x08\x08\r\nresult \'[\\xefnserted]|tAxt[after]\'\r\nhistory \'[\\xefnserted]|tAxt[after]\'\r\ncompleter [\'tA-0\', \'GOT 1\', \'tA-1\', \'GOT 2\', \'tA-2\', \'tA-0\', \'GOT 1\', \'tA-1\', \'GOT 2\', \'tA-2\', \'tAx-0\', \'GOT 3\', \'tAx-1\']\r\n")
ok
History
Date User Action Args
2016-12-18 17:54:43xdegayesetrecipients: + xdegaye, martin.panter
2016-12-18 17:54:43xdegayesetmessageid: <1482083683.83.0.952255215821.issue28997@psf.upfronthosting.co.za>
2016-12-18 17:54:43xdegayelinkissue28997 messages
2016-12-18 17:54:43xdegayecreate