[issue35274] Running print("\x98") then freeze in Interpreter

2018-11-19 Thread pmpp
pmpp added the comment: anything not using "libvte" is fine i suggest you try "mlterm" a very good multilingual terminal -- ___ Python tracker ___

[issue35274] Running print("\x98") then freeze in Interpreter

2018-11-19 Thread STINNER Victor
STINNER Victor added the comment: I can reproduce the issue on Fedora 29 in gnome-terminal. Python is not blocked at all. It's just your terminal which stops displaying new strings. Try: import time print("\x98") with open("x", "w") as fp: fp.write("done\n") fp.flush() print("wait")

[issue35274] Running print("\x98") then freeze in Interpreter

2018-11-19 Thread pmpp
pmpp added the comment: LC_ALL=en_US.UTF-8 on the ssh line is the culprit unset LC_ALL , gives same lockup result. but: LC_ALL=C give sames results as vnc, where no locale was set. -- ___ Python tracker

[issue35274] Running print("\x98") then freeze in Interpreter

2018-11-19 Thread pmpp
pmpp added the comment: hi i can reproduce with a ubuntu bionic or mint19 client toward a python3.4.3 reached via ssh server: - via mate-terminal or terminator : same behaviour as OP report - meanwhile using the same python3 directly via vnc + xterm gives : pm / # python3 Python

[issue35274] Running print("\x98") then freeze in Interpreter

2018-11-19 Thread otst
otst 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

[issue35274] Running print("\x98") then freeze in Interpreter

2018-11-19 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm afraid I can't reproduce that in Python 3.5.2 or 3.6.4. Can you try this? from time import time print(time(), '\x98', time()); print(time()) and copy and paste the results. What terminal/console are you using? If you change to a different console,

[issue35274] Running print("\x98") then freeze in Interpreter

2018-11-18 Thread otst
New submission from otst : My environment OS:Ubuntu18.04(x64) Python:3.6.6 Run print("\x98") in Python3 interpreter then freeze or slow responsed. Not problem run print '\x98' in Python 2.7.15rc1. Also no problem for python3 -c "print('\x98');" and run .py file. -- components: