Serhiy Storchaka added the comment:
Confirmed on IDLE.
>>> s = ''
>>> for i in range(5):
s += '\xe0'
print(s)
à
àà
àà
àà
àà
>>> s = ''
>>> for i in range(5):
s += chr(0xe0)
print(s)
à
àà
àà
àà
àà
>>> s = ''
>>> for i in range(5):
s += '\u0107'
print(s)
ć
ćć
ćć
ćć
ćć
>>> s = ''
>>> for i in range(5):
s += chr(0x107)
print(s)
ć
ć
ć
ć
ć
This issue can be related to details of IDLE's standard streams and RPC.
----------
assignee: -> serhiy.storchaka
components: +IDLE
nosy: +kbk, roger.serwy, serhiy.storchaka, terry.reedy
versions: +Python 3.5, Python 3.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25709>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com