Home
last modified time | relevance | path

Searched refs:py_compile (Results 1 - 20 of 20) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_py_compile.py4 import py_compile namespace
77 py_compile.compile(self.source_path, self.pyc_path)
91 py_compile.compile(self.source_path, self.pyc_path)
99 py_compile.compile(self.source_path, os.devnull)
102 py_compile.compile(self.source_path)
107 py_compile.compile(os.path.basename(self.source_path),
113 py_compile.compile(os.path.relpath(self.source_path),
130 py_compile.compile(self.source_path, self.pyc_path)
137 self.assertIsNone(py_compile.compile(bad_coding, doraise=False))
142 py_compile
[all...]
H A Dtest_multiprocessing_main_handling.py13 import py_compile namespace
200 py_compile.compile(script_name, doraise=True)
217 py_compile.compile(script_name, doraise=True)
235 compiled_name = py_compile.compile(script_name, doraise=True)
277 compiled_name = py_compile.compile(script_name, doraise=True)
H A Dtest_cmd_line_script.py11 import py_compile namespace
243 py_compile.compile(script_name, doraise=True)
260 py_compile.compile(script_name, doraise=True)
282 compiled_name = py_compile.compile(
284 invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP)
292 compiled_name = py_compile.compile(
294 invalidation_mode=py_compile.PycInvalidationMode.CHECKED_HASH)
302 compiled_name = py_compile.compile(
304 invalidation_mode=py_compile.PycInvalidationMode.UNCHECKED_HASH)
356 compiled_name = py_compile
[all...]
H A Dtest_modulefinder.py4 import py_compile namespace
389 py_compile.compile(source_path, cfile=bytecode_path)
H A Dtest_imp.py6 import py_compile namespace
377 py_compile.compile(
380 invalidation_mode=py_compile.PycInvalidationMode.CHECKED_HASH,
H A Dtest_runpy.py6 import py_compile namespace
679 compiled_name = py_compile.compile(script_name, doraise=True)
695 compiled_name = py_compile.compile(script_name, doraise=True)
721 compiled_name = py_compile.compile(script_name, doraise=True)
H A Dtest_pydoc.py7 import py_compile namespace
716 py_compile.compile(init_path)
H A Dtest_compileall.py8 import py_compile namespace
110 py_compile.compile(self.source_path)
/third_party/python/Lib/test/test_importlib/source/
H A Dtest_file_loader.py11 import py_compile namespace
248 py_compile.compile(
250 invalidation_mode=py_compile.PycInvalidationMode.CHECKED_HASH,
280 py_compile.compile(
282 invalidation_mode=py_compile.PycInvalidationMode.CHECKED_HASH,
304 py_compile.compile(
306 invalidation_mode=py_compile.PycInvalidationMode.UNCHECKED_HASH,
335 py_compile.compile(
337 invalidation_mode=py_compile.PycInvalidationMode.UNCHECKED_HASH,
383 invalidation_mode=py_compile
[all...]
H A Dtest_finder.py7 import py_compile namespace
64 py_compile.compile(mapping[name])
/third_party/python/Lib/
H A Dcompileall.py11 See module py_compile for details of the actual byte-compilation.
16 import py_compile namespace
240 ok = py_compile.compile(fullname, cfile, dfile, True,
248 except py_compile.PyCompileError as err:
362 for mode in py_compile.PycInvalidationMode]
420 invalidation_mode = py_compile.PycInvalidationMode[ivl_mode]
H A Dzipfile.py2111 import py_compile namespace
2115 py_compile.compile(file, doraise=True, optimize=optimize)
2116 except py_compile.PyCompileError as err:
/third_party/python/Tools/importbench/
H A Dimportbench.py14 import py_compile namespace
143 py_compile.compile(mapping[name])
153 py_compile.compile(module.__file__)
/third_party/python/Lib/test/support/
H A Dscript_helper.py10 import py_compile namespace
262 init_name = py_compile.compile(init_name, doraise=True)
263 script_name = py_compile.compile(script_name, doraise=True)
/third_party/python/PC/layout/
H A Dmain.py257 import py_compile namespace
263 py_compile.PycInvalidationMode.CHECKED_HASH
265 else py_compile.PycInvalidationMode.UNCHECKED_HASH
270 py_compile.compile(
279 except py_compile.PyCompileError:
/third_party/node/deps/v8/third_party/jinja2/
H A Denvironment.py692 py_compile=False,
709 If `py_compile` is set to `True` .pyc files will be written to the
723 if py_compile:
728 "'py_compile=True' has no effect on PyPy or Python"
733 py_compile = False
781 if py_compile:
/third_party/node/tools/inspector_protocol/jinja2/
H A Denvironment.py640 ignore_errors=True, py_compile=False):
656 If `py_compile` is set to `True` .pyc files will be written to the
668 if py_compile:
671 warn(Warning('py_compile has no effect on pypy or Python 3'))
672 py_compile = False
718 if py_compile:
/third_party/skia/third_party/externals/jinja2/
H A Denvironment.py692 py_compile=False,
709 If `py_compile` is set to `True` .pyc files will be written to the
723 if py_compile:
728 "'py_compile=True' has no effect on PyPy or Python"
733 py_compile = False
781 if py_compile:
/third_party/python/Lib/test/test_import/
H A D__init__.py9 import py_compile namespace
220 py_compile.compile(filename)
678 py_compile.compile(self.file_name, dfile="another_module.py")
686 py_compile.compile(self.file_name, dfile=target)
696 py_compile.compile(self.file_name)
/third_party/python/Lib/distutils/
H A Dutil.py350 with the standard py_compile module, or indirectly by writing a
432 # "Direct" byte-compilation: use the py_compile module to compile
437 from py_compile import compile
445 # Terminology from the py_compile module:

Completed in 34 milliseconds