Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_importlib/
Dtest_util.py699 self.assertEqual(self.util.source_from_cache(path), expect)
706 self.util.source_from_cache(path)
712 ValueError, self.util.source_from_cache, '/foo/bar/bazqux.pyc')
717 ValueError, self.util.source_from_cache, 'foo.cpython-32.pyc')
722 ValueError, self.util.source_from_cache, '__pycache__/foo.pyc')
726 self.util.source_from_cache(
732 ValueError, self.util.source_from_cache,
738 ValueError, self.util.source_from_cache,
744 self.assertEqual(self.util.source_from_cache(path), 'foo.py')
750 self.util.source_from_cache(path)
[all …]
/external/python/cpython3/Lib/test/support/
Dscript_helper.py13 from importlib.util import source_from_cache
219 legacy_pyc = make_legacy_pyc(source_from_cache(script_name))
/external/python/cpython3/Lib/
Dimp.py91 def source_from_cache(path): function
102 return util.source_from_cache(path)
/external/python/cpython3/Lib/importlib/
Dutil.py11 from ._bootstrap_external import source_from_cache
D_bootstrap_external.py372 def source_from_cache(path): function
425 source_path = source_from_cache(bytecode_path)
/external/python/cpython3/Lib/test/
Dtest_imp.py442 self.assertEqual(imp.source_from_cache(path), expect)
Dtest_zipfile.py1163 fn = importlib.util.source_from_cache(fn)
/external/python/cpython3/Doc/library/
Dimp.rst225 .. function:: source_from_cache(path)
240 Use :func:`importlib.util.source_from_cache` instead.
Dimportlib.rst1447 .. function:: source_from_cache(path)
/external/python/cpython3/Doc/c-api/
Dimport.rst180 Uses :func:`imp.source_from_cache()` in calculating the source path if
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1213 :func:`importlib.util.source_from_cache`, and
D3.2.rst332 >>> imp.source_from_cache('c:/py32/lib/__pycache__/collections.cpython-32.pyc')
D3.4.rst1004 and :func:`~importlib.util.source_from_cache` replace the same-named functions
/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