Home
last modified time | relevance | path

Searched refs:module_repr (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Lib/importlib/
D_abc.py42 def module_repr(self, module): member in Loader
D_bootstrap.py301 return loader.module_repr(module)
736 def module_repr(module): member in BuiltinImporter
816 def module_repr(m): member in FrozenImporter
D_bootstrap_external.py1276 def module_repr(module): member in _NamespaceLoader
/third_party/python/Lib/test/
Dtest_module.py13 def module_repr(cls, m): member in FullLoader
230 module_repr = repr(BareLoader)
232 repr(m), "<module 'foo' ({})>".format(module_repr))
/third_party/python/Lib/test/test_importlib/frozen/
Dtest_loader.py67 repr_str = self.machinery.FrozenImporter.module_repr(module)
159 repr_str = self.machinery.FrozenImporter.module_repr(module)
/third_party/python/Objects/
Dmoduleobject.c694 module_repr(PyModuleObject *m) in module_repr() function
923 (reprfunc)module_repr, /* tp_repr */
/third_party/python/Lib/test/test_importlib/
Dtest_namespace_pkgs.py88 self.assertEqual(foo.__spec__.loader.module_repr(foo),
Dtest_abc.py226 self.ins.module_repr(mod)
719 def module_repr(self, module): member in SourceOnlyLoader
Dtest_spec.py422 def module_repr(self, module): member in ModuleReprTests.test_module___loader___module_repr.Loader
431 def module_repr(self, module): member in ModuleReprTests.test_module___loader___module_repr_bad.Loader
/third_party/python/Doc/reference/
Dimport.rst676 Use of :meth:`loader.module_repr() <importlib.abc.Loader.module_repr>`
682 :meth:`~importlib.abc.Loader.module_repr` method, if defined, before
687 Calling :meth:`~importlib.abc.Loader.module_repr` now occurs after trying to
689 ``__file__``. Use of :meth:`~importlib.abc.Loader.module_repr` is slated to
/third_party/python/Misc/NEWS.d/
D3.10.0a7.rst126 over ``module_repr()``.
327 Deprecate all module_repr() methods found in importlib as their use is being
/third_party/python/Doc/whatsnew/
D3.10.rst1592 :meth:`~importlib.abc.Loader.module_repr` (which the import system
1673 falling back on :meth:`~importlib.abc.Loader.module_repr` for a module's
1674 ``__repr__()`` method. Removal of the use of ``module_repr()`` is scheduled
1678 * :meth:`importlib.abc.Loader.module_repr`,
1679 :meth:`importlib.machinery.FrozenLoader.module_repr`, and
1680 :meth:`importlib.machinery.BuiltinLoader.module_repr` are deprecated and
D3.4.rst2099 :meth:`importlib.abc.Loader.module_repr`,
/third_party/python/Lib/test/test_importlib/source/
Dtest_file_loader.py55 def module_repr(self, _): pass member in SimpleTest.test_get_filename_API.Tester
/third_party/python/Doc/library/
Dimportlib.rst477 .. method:: module_repr(module)
/third_party/python/Misc/
DHISTORY5111 - Issue #17566: Make importlib.abc.Loader.module_repr() optional instead of an