New issue 2732: [PyPy 3.5 5.10.1] Hitting a sequence that generates bell 
crashes REPL
https://bitbucket.org/pypy/pypy/issues/2732/pypy-35-5101-hitting-a-sequence-that

squeaky:

Might be related to: 
https://bitbucket.org/pypy/pypy/issues/2718/pypy35-traceback-when-hitting-backspace-in

I am running  gnome-terminal 3.24.2. When I hit for example 'Ctrl + Alt + -' in 
the REPL I get the following stacktrace:

```
Python 3.5.3 (3f6eaa010fce78cc7973bdc1dfdb95970f08fed2, Jan 14 2018, 12:54:44)
[PyPy 5.10.1 with GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>> Traceback (most recent call last):
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/_pypy_interact.py",
 line 45, in interactive_console
    run_interactive(mainmodule)
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/pyrepl/simple_interact.py",
 line 73, in run_multiline_interactive_console
    returns_unicode=True)
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/pyrepl/readline.py",
 line 275, in multiline_input
    return reader.readline(returns_unicode=returns_unicode)
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/pyrepl/reader.py",
 line 620, in readline
    self.handle1()
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/pyrepl/reader.py",
 line 603, in handle1
    self.do_cmd(cmd)
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/pyrepl/reader.py",
 line 555, in do_cmd
    self.refresh()
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/pyrepl/reader.py",
 line 536, in refresh
    screen = self.calc_screen()
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/pyrepl/completing_reader.py",
 line 230, in calc_screen
    screen = super(CompletingReader, self).calc_screen()
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/pyrepl/reader.py",
 line 299, in calc_screen
    l, l2 = disp_str(line)
  File 
"/home/squeaky/workspace/portable-pypy/pypy3.5-5.10.1-linux_x86_64-portable/lib_pypy/pyrepl/reader.py",
 line 86, in disp_str
    return join(s), b
TypeError: sequence item 0: expected str, bytes found

```


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to