Searched refs:source_from_cache (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 699 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/ |
D | script_helper.py | 13 from importlib.util import source_from_cache 219 legacy_pyc = make_legacy_pyc(source_from_cache(script_name))
|
/external/python/cpython3/Lib/ |
D | imp.py | 91 def source_from_cache(path): function 102 return util.source_from_cache(path)
|
/external/python/cpython3/Lib/importlib/ |
D | util.py | 11 from ._bootstrap_external import source_from_cache
|
D | _bootstrap_external.py | 372 def source_from_cache(path): function 425 source_path = source_from_cache(bytecode_path)
|
/external/python/cpython3/Lib/test/ |
D | test_imp.py | 442 self.assertEqual(imp.source_from_cache(path), expect)
|
D | test_zipfile.py | 1163 fn = importlib.util.source_from_cache(fn)
|
/external/python/cpython3/Doc/library/ |
D | imp.rst | 225 .. function:: source_from_cache(path) 240 Use :func:`importlib.util.source_from_cache` instead.
|
D | importlib.rst | 1447 .. function:: source_from_cache(path)
|
/external/python/cpython3/Doc/c-api/ |
D | import.rst | 180 Uses :func:`imp.source_from_cache()` in calculating the source path if
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 1213 :func:`importlib.util.source_from_cache`, and
|
D | 3.2.rst | 332 >>> imp.source_from_cache('c:/py32/lib/__pycache__/collections.cpython-32.pyc')
|
D | 3.4.rst | 1004 and :func:`~importlib.util.source_from_cache` replace the same-named functions
|
/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
|