-
-
Notifications
You must be signed in to change notification settings - Fork 252
Description
Steps to reproduce it:
-
Make sure lxml is installed
-
Open bpython (mine is changeset 238:fbe8addaf66f)
-
Type this:
from lxml.etree import XMLParser
help(XMLP -
Now type the tab key for completing, bpython adds "arser("
-
Type tab again and bpython crashes with the following traceback:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/bpython/cli.py", line 2161, in main
o = curses.wrapper(main_curses, exec_args, options.interactive)
File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
return func(stdscr, _args, *_kwds)
File "/usr/lib/python2.6/site-packages/bpython/cli.py", line 2103, in main_curses
repl.repl()
File "/usr/lib/python2.6/site-packages/bpython/cli.py", line 1199, in repl
inp = self.get_line()
File "/usr/lib/python2.6/site-packages/bpython/cli.py", line 1755, in get_line
if self.p_key() is None:
File "/usr/lib/python2.6/site-packages/bpython/cli.py", line 1535, in p_key
return self.tab()
File "/usr/lib/python2.6/site-packages/bpython/cli.py", line 1564, in tab
self.complete(tab=True)
File "/usr/lib/python2.6/site-packages/bpython/cli.py", line 668, in complete
self.list_win_visible = self._complete(tab)
File "/usr/lib/python2.6/site-packages/bpython/cli.py", line 743, in _complete
self.show_list(self.matches, self.argspec)
File "/usr/lib/python2.6/site-packages/bpython/cli.py", line 834, in show_list
self.list_win.mvwin(y + 1, 0)
error: mvwin() returned ERR
- Bitbucket: https://bitbucket.org/bobf/bpython/issue/42
- Originally Reported By: Anonymous
- Originally Created At: 2009-06-24T12:07:05.939