Expected result: boring stuff. Just the printed "value" of a list that contains a thousand "hello"s.
Actual result: The value, and then some formatting related characters that got garbled:
>>> ["Hello"] * 1000
['Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello',
'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello',
[... SNIP ...]
'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello',
'Hello', 'Hello', 'Hello', 'Hello', 'Hello', 'Hello']�[-26;1H
>>>
I'm not sure whether this is a bug in xfce4-terminal 0.6.3, bpython, bpython-curtsies, curtsies, or maybe something else entirely. However, bpython is the only program exhibiting this behavior, so I reported it here.
Reproduce with:
bpython version 0.15 on top of Python 3.5.1+ /usr/bin/python3andbpython version 0.15 on top of Python 2.7.11+ /usr/bin/python)["Hello"] * 1000Expected result: boring stuff. Just the printed "value" of a list that contains a thousand "hello"s.
Actual result: The value, and then some formatting related characters that got garbled:
Note the trailing
U+001Bwhich smells like formatting gone wrong.I'm not sure whether this is a bug in xfce4-terminal 0.6.3, bpython, bpython-curtsies, curtsies, or maybe something else entirely. However, bpython is the only program exhibiting this behavior, so I reported it here.