[issue35274] Running print("\x98") then freeze in Interpreter
otst
report at bugs.python.org
Mon Nov 19 06:36:24 EST 2018
otst <naruseroku.106.sp at gmail.com> added the comment:
I used GNOME Terminal 3.28.2.
I tried advised code Gnome Terminal and LXTerminal 0.3.1.
but stop after first time() function.
results:
1542621412.508629 (stop. Control+D later) 1542621412.5086305
1542621412.5087285
>>>
KeyboardInterrupt
>>>
Tried change '\x98' to '\x97' results:
1542621365.7332687 1542621365.73327
1542621365.733405
'\x97' is no problem. Perhaps the encoding may be affecting it.
I used UTF-8 on the terminal. I changed the SHIFT_JIS and tried print('\x98'), but it did not stop.
As a result of trying a little, what was okay:
SHIFT_JIS
ISO-2022-KR
IBM850
GBK
Also, I am Japanese and my computer is in Japanese environment.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35274>
_______________________________________
More information about the Python-bugs-list
mailing list