Lines Matching refs:namespace
33 def install(self, namespace=vars(__builtin__)):
34 "Install this ImportManager into the specified namespace."
36 if isinstance(namespace, _ModuleType):
37 namespace = vars(namespace)
42 self.previous_importer = namespace['__import__']
43 self.namespace = namespace
44 namespace['__import__'] = self._import_hook
47 #namespace['reload'] = self._reload_hook
51 self.namespace['__import__'] = self.previous_importer
252 # import all modules and insert those into the namespace of
255 # we imported and stored in the namespace, others are expected
305 # execute the code within the module's namespace
379 (potentially) dotted name from the "root" of the module namespace
391 executed within the new module's namespace). This item can also
687 # implement "domain" for path-type functionality using pkg namespace