Home
last modified time | relevance | path

Searched refs:loader_state (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/importlib/
Dutil.py234 attrs_then = self.__spec__.loader_state['__dict__']
235 original_type = self.__spec__.loader_state['__class__']
296 loader_state = {}
297 loader_state['__dict__'] = module.__dict__.copy()
298 loader_state['__class__'] = module.__class__
299 module.__spec__.loader_state = loader_state
D_bootstrap.py369 def __init__(self, name, loader, *, origin=None, loader_state=None, argument
374 self.loader_state = loader_state
/external/python/cpython3/Lib/test/test_importlib/
Dtest_spec.py83 self.assertIs(spec.loader_state, None)
94 self.assertIs(spec.loader_state, None)
106 self.assertIs(spec.loader_state, None)
118 self.assertIs(spec.loader_state, None)
515 self.assertIs(spec.loader_state, None)
530 self.assertIs(spec.loader_state, None)
543 self.assertIs(spec.loader_state, None)
555 self.assertIs(spec.loader_state, None)
567 self.assertIs(spec.loader_state, None)
580 self.assertIs(spec.loader_state, None)
[all …]
/external/python/cpython3/Doc/library/
Dimportlib.rst1282 .. class:: ModuleSpec(name, loader, *, origin=None, loader_state=None, is_package=None)
1325 .. attribute:: loader_state