caches have their own module now.
This commit is contained in:
1 parent
169b35b5a9
commit
e8ddc35a1b
9 files changed
+109
-97
No files matched your search
+2
-1
@@ -6,6 +6,7 @@ import imp
|
||||
import sys
|
||||
import time
|
||||
|
||||
import cache
|
||||
import builtin
|
||||
import modules
|
||||
import debug
|
||||
@@ -91,7 +92,7 @@ class ImportPath(parsing.Base):
|
||||
n = parsing.Name(i.namespace.names[1:], zero, zero, self.import_stmt)
|
||||
new = parsing.Import(zero, zero, n)
|
||||
new.parent = parent
|
||||
evaluate.faked_scopes.append(new)
|
||||
cache.faked_scopes.append(new)
|
||||
debug.dbg('Generated a nested import: %s' % new)
|
||||
return new
|
||||
|
||||
|
||||
Reference in new issue
Block a user