New issue 3123: pypy3 prompt freezes when typing non-ascii chars with `LANG=`
https://bitbucket.org/pypy/pypy/issues/3123/pypy3-prompt-freezes-when-typing-non-ascii
Antonio Cuni:
To reproduce:
```
$ LANG= pypy3
Python 3.6.9 (5da45ced70e5, Oct 09 2019, 19:12:54)
[PyPy 7.2.0 with GCC 6.2.0 20160901] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>> <PRESS è>
```
If I press `è`, the prompt freezes, and `CTRL-C` doesn’t work. The only way to
exit is to `kill` it.
Interestingly with `pypy` I get a different behavior, which might be related or
not:
```
$ LANG= pypy -E
Python 2.7.13 (4a68d8d3d2fc, Oct 10 2019, 06:43:13)
[PyPy 7.2.0 with GCC 6.2.0 20160901] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>> <PRESS è>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0:
ordinal not in range(128)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0
in position 0: ordinal not in range(128)
```
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue