1
0
forked from VimPlug/jedi

removed all the weakref stuff again. It didn't speed up anything, but made things much more complicated

This commit is contained in:
David Halter
2012-12-09 16:30:19 +01:00
parent ac610f97fb
commit 6bdda36205
11 changed files with 119 additions and 124 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ import os
import pkgutil
import imp
import sys
import weakref
import time
import builtin
@@ -84,7 +83,7 @@ class ImportPath(parsing.Base):
zero = (0, 0)
n = parsing.Name(i.namespace.names[1:], zero, zero, self.import_stmt)
new = parsing.Import(zero, zero, n)
new.parent = weakref.ref(parent)
new.parent = parent
evaluate.faked_scopes.append(new)
debug.dbg('Generated a nested import: %s' % new)
return new