Home
last modified time | relevance | path

Searched refs:source_from_cache (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/
Dtest_util.py476 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/
Dscript_helper.py12 from importlib.util import source_from_cache
254 legacy_pyc = make_legacy_pyc(source_from_cache(script_name))
/external/python/cpython3/Lib/importlib/
Dutil.py11 from ._bootstrap_external import source_from_cache
D_bootstrap_external.py583 def source_from_cache(path): function
636 source_path = source_from_cache(bytecode_path)
/external/python/cpython3/Doc/c-api/
Dimport.rst193 Uses :func:`!imp.source_from_cache` in calculating the source path if
/external/python/cpython3/Doc/whatsnew/
D3.12.rst1476 ``imp.source_from_cache()`` :func:`importlib.util.source_from_cache`
D3.6.rst1213 :func:`importlib.util.source_from_cache`, and
D3.2.rst333 >>> imp.source_from_cache('c:/py32/lib/__pycache__/collections.cpython-32.pyc') # doctest: +SKIP
D3.4.rst1003 and :func:`~importlib.util.source_from_cache` replace the same-named functions
/external/python/cpython3/Doc/library/
Dimportlib.rst1337 .. function:: source_from_cache(path)
/external/python/cpython3/Lib/test/test_zipfile/
Dtest_core.py1368 fn = importlib.util.source_from_cache(fn)
/external/python/cpython3/Misc/
DHISTORY4881 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