Searched refs:source_from_cache (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 476 self.assertEqual(self.util.source_from_cache(path), expect) 483 self.util.source_from_cache(path) 489 ValueError, self.util.source_from_cache, '/foo/bar/bazqux.pyc') 494 ValueError, self.util.source_from_cache, 'foo.cpython-32.pyc') 499 ValueError, self.util.source_from_cache, '__pycache__/foo.pyc') 503 self.util.source_from_cache( 509 ValueError, self.util.source_from_cache, 515 ValueError, self.util.source_from_cache, 521 self.assertEqual(self.util.source_from_cache(path), 'foo.py') 527 self.util.source_from_cache(path) [all …]
|
/external/python/cpython3/Lib/test/support/ |
D | script_helper.py | 12 from importlib.util import source_from_cache 254 legacy_pyc = make_legacy_pyc(source_from_cache(script_name))
|
/external/python/cpython3/Lib/importlib/ |
D | util.py | 11 from ._bootstrap_external import source_from_cache
|
D | _bootstrap_external.py | 583 def source_from_cache(path): function 636 source_path = source_from_cache(bytecode_path)
|
/external/python/cpython3/Doc/c-api/ |
D | import.rst | 193 Uses :func:`!imp.source_from_cache` in calculating the source path if
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.12.rst | 1476 ``imp.source_from_cache()`` :func:`importlib.util.source_from_cache`
|
D | 3.6.rst | 1213 :func:`importlib.util.source_from_cache`, and
|
D | 3.2.rst | 333 >>> imp.source_from_cache('c:/py32/lib/__pycache__/collections.cpython-32.pyc') # doctest: +SKIP
|
D | 3.4.rst | 1003 and :func:`~importlib.util.source_from_cache` replace the same-named functions
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 1337 .. function:: source_from_cache(path)
|
/external/python/cpython3/Lib/test/test_zipfile/ |
D | test_core.py | 1368 fn = importlib.util.source_from_cache(fn)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 4881 source_from_cache() while documenting the equivalent functions in imp as 6933 - Issue #15056: `imp.cache_from_source()` and `imp.source_from_cache()` raise 6995 `imp.source_from_cache()` used by PyImport_ExecCodeModuleWithPathnames() and 7854 - Issue #13959: imp.cache_from_source()/source_from_cache() now follow
|