You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We discovered an odd bug today where completer.complete(str) only returns %builtin methods, and not all the other things that 'tab' reveals in the terminal.
The above picture has no built ins, but using 'x' as the string returns:
In [39]: terminal_object.get_ipython().complete('x')[1]
Out[39]: ['%xdel', '%xmode']
But, if you use the internal methods directly, you can get the correct behavior:
The text was updated successfully, but these errors were encountered:
gigaj0ule
changed the title
completer.complete() returns only %builtin methods (fix included)
.complete() returns only %builtin methods (fix included)
Oct 16, 2019
We discovered an odd bug today where completer.complete(str) only returns %builtin methods, and not all the other things that 'tab' reveals in the terminal.
The above picture has no built ins, but using 'x' as the string returns:
But, if you use the internal methods directly, you can get the correct behavior:
The above line returns everything 'tab' normally would in the terminal for the string 'string'
Edit: This one will include function ()'s too
The text was updated successfully, but these errors were encountered: