Marco Franzo <frenzi...@gmail.com> added the comment:

So, I use Ubuntu 20.10 and the terminal
is the one distributed with the system.

I think this problem born in my code here:

def generate_input():
    while True:
        str = input().strip()
        yield helloworld_pb2.Operazione(operazione = str)


I think the string

os.system('stty sane')

it can be very useful for those who have the shell unusable at the end of the 
program.

If i remove import readline, I no longer have any problems, but i need 
the features of readline

----------
Added file: https://bugs.python.org/file49722/io_console.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42828>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to