-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Milestone
Description
Reproduce steps:
- open IPython 6.2.0 (This bug does not exists in older versions)
- type this:
In [1]: from threading import current_thread
In [2]: current_thread().- press tab
Log:
Exception in thread Thread-17:
Traceback (most recent call last):
File "/home/ts/.local/lib/python3.5/site-packages/jedi/cache.py", line 119, in wrapper
return dct[key]
KeyError: ((), frozenset())
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/home/ts/.local/lib/python3.5/site-packages/prompt_toolkit/interface.py", line 865, in run
completions = list(buffer.completer.get_completions(document, complete_event))
File "/home/ts/.local/lib/python3.5/site-packages/IPython/terminal/ptutils.py", line 84, in get_completions
yield from self._get_completions(body, offset, cursor_position, self.ipy_completer)
File "/home/ts/.local/lib/python3.5/site-packages/IPython/terminal/ptutils.py", line 94, in _get_completions
for c in completions:
File "/home/ts/.local/lib/python3.5/site-packages/IPython/core/completer.py", line 438, in _deduplicate_completions
completions = list(completions)
File "/home/ts/.local/lib/python3.5/site-packages/IPython/core/completer.py", line 1792, in completions
for c in self._completions(text, offset, _timeout=self.jedi_compute_type_timeout/1000):
File "/home/ts/.local/lib/python3.5/site-packages/IPython/core/completer.py", line 1845, in _completions
signature = _make_signature(jm)
File "/home/ts/.local/lib/python3.5/site-packages/IPython/core/completer.py", line 989, in _make_signature
return '(%s)'% ', '.join([f for f in (_formatparamchildren(p) for p in completion.params) if f])
File "/home/ts/.local/lib/python3.5/site-packages/jedi/cache.py", line 121, in wrapper
result = method(self, *args, **kwargs)
File "/home/ts/.local/lib/python3.5/site-packages/jedi/api/classes.py", line 360, in params
raise AttributeError()
AttributeError
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels