completions on jedi now don't run into almost endless loop anymore

This commit is contained in:
David Halter
2012-08-23 02:05:45 +02:00
parent ddc7c73c46
commit cfba8216c9
5 changed files with 49 additions and 30 deletions

View File

@@ -14,21 +14,21 @@ scopes, path, dot, like = \
source_path, True)
# has problems with that (sometimes) very deep nesting.
##? set()
#? set()
el = scopes
# get_names_for_scope is also recursion stuff
##? tuple()
#? tuple()
el = list(evaluate.get_names_for_scope())[0]
##? int() parsing.Module()
#? int() parsing.Module()
el = list(evaluate.get_names_for_scope(1))[0][0]
#? parsing.Module()
el = list(evaluate.get_names_for_scope())[0][0]
##? list()
#? list()
el = list(evaluate.get_names_for_scope(1))[0][1]
##? list()
#? list()
el = list(evaluate.get_names_for_scope())[0][1]
# TODO here should stand evaluate.Instance() and so on.