##// END OF EJS Templates
Revert "Backport PR #12207 on branch 7.x (Bump jedi to at least 0.16.0 and fix deprecated function usage)"
Matthias Bussonnier -
Show More
@@ -988,8 +988,7 b' def _make_signature(completion)-> str:'
988
988
989 """
989 """
990
990
991 return '(%s)'% ', '.join([f for f in (_formatparamchildren(p) for signature in completion.get_signatures()
991 return '(%s)'% ', '.join([f for f in (_formatparamchildren(p) for p in completion.params) if f])
992 for p in signature.defined_names()) if f])
993
992
994 class IPCompleter(Completer):
993 class IPCompleter(Completer):
995 """Extension of the completer class with IPython-specific features"""
994 """Extension of the completer class with IPython-specific features"""
@@ -1399,7 +1398,7 b' class IPCompleter(Completer):'
1399 if not try_jedi:
1398 if not try_jedi:
1400 return []
1399 return []
1401 try:
1400 try:
1402 return filter(completion_filter, interpreter.complete())
1401 return filter(completion_filter, interpreter.completions())
1403 except Exception as e:
1402 except Exception as e:
1404 if self.debug:
1403 if self.debug:
1405 return [_FakeJediCompletion('Oops Jedi has crashed, please report a bug with the following:\n"""\n%s\ns"""' % (e))]
1404 return [_FakeJediCompletion('Oops Jedi has crashed, please report a bug with the following:\n"""\n%s\ns"""' % (e))]
@@ -187,7 +187,7 b' extras_require = dict('
187
187
188 install_requires = [
188 install_requires = [
189 'setuptools>=18.5',
189 'setuptools>=18.5',
190 'jedi>=0.16',
190 'jedi>=0.10',
191 'decorator',
191 'decorator',
192 'pickleshare',
192 'pickleshare',
193 'traitlets>=4.2',
193 'traitlets>=4.2',
General Comments 0
You need to be logged in to leave comments. Login now