Home
last modified time | relevance | path

Searched refs:py_compile (Results 1 – 25 of 57) sorted by relevance

123

/external/python/cpython3/Lib/test/
Dtest_py_compile.py4 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 …]
Dtest_multiprocessing_main_handling.py12 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)
Dtest_modulefinder.py4 import py_compile
308 py_compile.compile(source_path, cfile=bytecode_path)
Dtest_cmd_line_script.py11 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)
Dtest_imp.py5 import py_compile
359 py_compile.compile(
362 invalidation_mode=py_compile.PycInvalidationMode.CHECKED_HASH,
/external/python/cpython2/Lib/test/
Dtest_py_compile.py3 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),
Dtest_compileall.py4 import py_compile
38 py_compile.compile(self.source_path)
Dtest_import.py5 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)
Dtest_pydoc.py6 import py_compile
412 py_compile.compile(init_path)
424 py_compile.compile(init_path)
/external/libcap-ng/libcap-ng-0.7/
Dpy-compile120 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/
Dtest_file_loader.py12 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 …]
Dtest_finder.py8 import py_compile
65 py_compile.compile(mapping[name])
/external/python/cpython2/Doc/library/
Dpy_compile.rst1 :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
Dlanguage.rst26 py_compile.rst
/external/python/cpython3/Lib/
Dcompileall.py16 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/
Dcompileall.py15 import py_compile
99 ok = py_compile.compile(fullname, None, dfile, True)
100 except py_compile.PyCompileError,err:
/external/python/cpython2/Tools/nuget/
Dmake_zip.py4 import py_compile
134 py_compile.compile(str(s), str(pyc), str(rel), doraise=True, optimize=2)
135 except py_compile.PyCompileError:
/external/fonttools/
Dsetup.py18 import py_compile
19 orig_py_compile = py_compile.compile
24 py_compile.compile = doraise_py_compile
/external/python/cpython3/Lib/test/support/
Dscript_helper.py10 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/
Dpy_compile.rst1 :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
Dcompileall.rst118 …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`
Dlanguage.rst25 py_compile.rst
/external/python/cpython3/Tools/importbench/
Dimportbench.py14 import py_compile
143 py_compile.compile(mapping[name])
153 py_compile.compile(module.__file__)
/external/python/cpython3/PC/layout/
Dmain.py246 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/
Dscript_helper.py10 import py_compile
115 py_compile.compile(script_name, doraise=True)

123