[New-bugs-announce] [issue42020] interpreter hangs forever on invalid input

denis report at bugs.python.org
Mon Oct 12 14:50:52 EDT 2020


New submission from denis <gantsevdenis at gmail.com>:

Python 3.8.5, Python 3.7.3
When trying to print invalid unicode, interpreter goes to a completely unresponsive state

>>> print("\x9b")


eyboardInterrupt
>>> print("\xa5")
¥
>>> print("\x95")

>>> print("\x90")
denis at debian:~$ <interpreter hangs forever, ctrl+d was pressed to exit>

----------
components: Unicode
messages: 378514
nosy: dgan, ezio.melotti, vstinner
priority: normal
severity: normal
status: open
title: interpreter hangs forever on invalid input
type: behavior
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42020>
_______________________________________


More information about the New-bugs-announce mailing list