Home
last modified time | relevance | path

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

/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)
Dscript_helper.py10 import py_compile
115 py_compile.compile(script_name, doraise=True)
Dtest_import.py5 import py_compile
207 py_compile.compile(filename)
482 py_compile.compile(self.file_name, dfile="another_module.py")
490 py_compile.compile(self.file_name, dfile=target)
498 py_compile.compile(self.file_name)
Dtest_pydoc.py6 import py_compile
412 py_compile.compile(init_path)
424 py_compile.compile(init_path)
Dtest_sundry.py64 import py_compile
/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/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
Dcompileall.rst140 Module :mod:`py_compile`
/external/python/cpython2/Lib/
Dcompileall.py15 import py_compile
99 ok = py_compile.compile(fullname, None, dfile, True)
100 except py_compile.PyCompileError,err:
Dzipfile.py1460 import py_compile
1464 py_compile.compile(file_py, file_pyc, None, True)
1465 except py_compile.PyCompileError,err:
/external/python/cpython2/Tools/nuget/
Dmake_zip.py4 import py_compile
133 py_compile.compile(str(s), str(pyc), str(rel), doraise=True, optimize=2)
134 except py_compile.PyCompileError:
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
Dtemplate_expander.py67 py_compile=True,
/external/libmojo/third_party/jinja2/
Denvironment.py603 ignore_errors=True, py_compile=False): argument
631 if py_compile:
635 py_compile = False
680 if py_compile:
/external/python/cpython2/Lib/distutils/
Dutil.py437 from py_compile import compile
/external/chromium-trace/catapult/third_party/zipfile/
Dzipfile_2_7_13.py1460 import py_compile
1464 py_compile.compile(file_py, file_pyc, None, True)
1465 except py_compile.PyCompileError,err:
/external/libcap-ng/libcap-ng-0.7/bindings/python/
DMakefile.in108 am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile)
109 py_compile = $(top_srcdir)/py-compile
/external/python/cpython2/Misc/
Dmaintainers.rst179 py_compile
Dcheatsheet1953 py_compile Routine to "compile" a .py file to a .pyc file.
DHISTORY4769 - py_compile has a new 'doraise' flag and a new PyCompileError
8638 - py_compile: support CR+LF line terminators in source file.
11219 - py_compile.py: print error message and continue on syntax errors.
12159 - Added docstrings and fixed a typo in the py_compile and compileall
12160 modules. At Mark Hammond's repeated request, py_compile now append a
14188 - In Lib/py_compile.py, cast mtime to long() so it will work on Mac
DNEWS3366 - Issue #7842: backported fix for py_compile.compile() syntax error handling.
6565 - Issue #8233: When run as a script, py_compile.py optionally takes a single
10358 - Issue #2225: py_compile, when executed as a script, now returns a
/external/python/cpython2/Doc/faq/
Dprogramming.rst1861 that is not imported -- you can, using the :mod:`py_compile` and
1864 The :mod:`py_compile` module can manually compile any module. One way is to use
1867 >>> import py_compile
1868 >>> py_compile.compile('foo.py') # doctest: +SKIP
/external/python/cpython2/Doc/distutils/
Dapiref.rst1226 standard :mod:`py_compile` module, or indirectly by writing a temporary script
/external/python/cpython2/Doc/whatsnew/
D2.7.rst2403 * When executed as a script, the :file:`py_compile.py` module now