Closed
Description
Completion causes a crash sometimes when lines are grabbed from history instead of typed.
$ bpython-curtsies
>>> import subprocess
>>> subprocess.call(['ls *'])
<expected error happens>
<close bpython with ctrl-d>
$ bpython-curtsies
<up> <up> <enter>
<up> <up> <left> <left> <delete>
<unexpected crash>
We seem to be thinking we have completion when we don't (not clearing it properly perhaps? or not checking it properly?)