[issue35274] Running print("\x98") then freeze in Interpreter
STINNER Victor
report at bugs.python.org
Mon Nov 19 10:30:15 EST 2018
STINNER Victor <vstinner at redhat.com> 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")
time.sleep(5)
print("exit")
And see file "x" created even after print("\x98").
Sorry, I'm not interested to investigate the terminal behavior.
----------
nosy: +vstinner
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35274>
_______________________________________
More information about the Python-bugs-list
mailing list