Searched refs:py_compile (Results 1 – 25 of 57) sorted by relevance
123
/external/python/cpython3/Lib/test/ |
D | test_py_compile.py | 4 import py_compile 75 py_compile.compile(self.source_path, self.pyc_path) 89 py_compile.compile(self.source_path, self.pyc_path) 97 py_compile.compile(self.source_path, os.devnull) 100 py_compile.compile(self.source_path) 105 py_compile.compile(os.path.basename(self.source_path), 111 py_compile.compile(os.path.relpath(self.source_path), 128 py_compile.compile(self.source_path, self.pyc_path) 135 self.assertIsNone(py_compile.compile(bad_coding, doraise=False)) 140 py_compile.compile(self.source_path, self.pyc_path) [all …]
|
D | test_multiprocessing_main_handling.py | 12 import py_compile 198 py_compile.compile(script_name, doraise=True) 215 py_compile.compile(script_name, doraise=True) 233 compiled_name = py_compile.compile(script_name, doraise=True) 275 compiled_name = py_compile.compile(script_name, doraise=True)
|
D | test_modulefinder.py | 4 import py_compile 308 py_compile.compile(source_path, cfile=bytecode_path)
|
D | test_cmd_line_script.py | 11 import py_compile 226 py_compile.compile(script_name, doraise=True) 243 py_compile.compile(script_name, doraise=True) 265 compiled_name = py_compile.compile(script_name, doraise=True) 317 compiled_name = py_compile.compile(script_name, doraise=True)
|
D | test_imp.py | 5 import py_compile 359 py_compile.compile( 362 invalidation_mode=py_compile.PycInvalidationMode.CHECKED_HASH,
|
/external/python/cpython2/Lib/test/ |
D | test_py_compile.py | 3 import py_compile 34 py_compile.compile(self.source_path, self.pyc_path) 39 py_compile.compile(os.path.basename(self.source_path), 44 py_compile.compile(os.path.relpath(self.source_path),
|
D | test_compileall.py | 4 import py_compile 38 py_compile.compile(self.source_path)
|
D | test_import.py | 5 import py_compile 207 py_compile.compile(filename) 481 py_compile.compile(self.file_name, dfile="another_module.py") 489 py_compile.compile(self.file_name, dfile=target) 497 py_compile.compile(self.file_name)
|
D | test_pydoc.py | 6 import py_compile 412 py_compile.compile(init_path) 424 py_compile.compile(init_path)
|
/external/libcap-ng/libcap-ng-0.7/ |
D | py-compile | 120 import sys, os, py_compile 133 py_compile.compile(filepath, filepath + 'c', path) 138 import sys, os, py_compile 150 py_compile.compile(filepath, filepath + 'o', path)
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 12 import py_compile 249 py_compile.compile( 251 invalidation_mode=py_compile.PycInvalidationMode.CHECKED_HASH, 281 py_compile.compile( 283 invalidation_mode=py_compile.PycInvalidationMode.CHECKED_HASH, 305 py_compile.compile( 307 invalidation_mode=py_compile.PycInvalidationMode.UNCHECKED_HASH, 336 py_compile.compile( 338 invalidation_mode=py_compile.PycInvalidationMode.UNCHECKED_HASH, 384 invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): [all …]
|
D | test_finder.py | 8 import py_compile 65 py_compile.compile(mapping[name])
|
/external/python/cpython2/Doc/library/ |
D | py_compile.rst | 1 :mod:`py_compile` --- Compile Python source files 4 .. module:: py_compile 11 **Source code:** :source:`Lib/py_compile.py` 15 The :mod:`py_compile` module provides a function to generate a byte-code file
|
D | language.rst | 26 py_compile.rst
|
/external/python/cpython3/Lib/ |
D | compileall.py | 16 import py_compile 157 ok = py_compile.compile(fullname, cfile, dfile, True, 160 except py_compile.PyCompileError as err: 261 for mode in py_compile.PycInvalidationMode] 298 invalidation_mode = py_compile.PycInvalidationMode[ivl_mode]
|
/external/python/cpython2/Lib/ |
D | compileall.py | 15 import py_compile 99 ok = py_compile.compile(fullname, None, dfile, True) 100 except py_compile.PyCompileError,err:
|
/external/python/cpython2/Tools/nuget/ |
D | make_zip.py | 4 import py_compile 134 py_compile.compile(str(s), str(pyc), str(rel), doraise=True, optimize=2) 135 except py_compile.PyCompileError:
|
/external/fonttools/ |
D | setup.py | 18 import py_compile 19 orig_py_compile = py_compile.compile 24 py_compile.compile = doraise_py_compile
|
/external/python/cpython3/Lib/test/support/ |
D | script_helper.py | 10 import py_compile 248 init_name = py_compile.compile(init_name, doraise=True) 249 script_name = py_compile.compile(script_name, doraise=True)
|
/external/python/cpython3/Doc/library/ |
D | py_compile.rst | 1 :mod:`py_compile` --- Compile Python source files 4 .. module:: py_compile 10 **Source code:** :source:`Lib/py_compile.py` 16 The :mod:`py_compile` module provides a function to generate a byte-code file
|
D | compileall.rst | 118 …None, quiet=0, legacy=False, optimize=-1, workers=1, invalidation_mode=py_compile.PycInvalidationM… 160 :class:`py_compile.PycInvalidationMode` enum and controls how the generated 182 …=False, rx=None, quiet=0, legacy=False, optimize=-1, invalidation_mode=py_compile.PycInvalidationM… 211 :class:`py_compile.PycInvalidationMode` enum and controls how the generated 226 …=0, force=False, quiet=0, legacy=False, optimize=-1, invalidation_mode=py_compile.PycInvalidationM… 266 Module :mod:`py_compile`
|
D | language.rst | 25 py_compile.rst
|
/external/python/cpython3/Tools/importbench/ |
D | importbench.py | 14 import py_compile 143 py_compile.compile(mapping[name]) 153 py_compile.compile(module.__file__)
|
/external/python/cpython3/PC/layout/ |
D | main.py | 246 import py_compile 252 py_compile.PycInvalidationMode.CHECKED_HASH 254 else py_compile.PycInvalidationMode.UNCHECKED_HASH 259 py_compile.compile( 268 except py_compile.PyCompileError:
|
/external/python/cpython2/Lib/test/support/ |
D | script_helper.py | 10 import py_compile 115 py_compile.compile(script_name, doraise=True)
|
123