Searched refs:py_compile (Results 1 – 25 of 25) sorted by relevance
/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 | script_helper.py | 10 import py_compile 115 py_compile.compile(script_name, doraise=True)
|
D | test_import.py | 5 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)
|
D | test_pydoc.py | 6 import py_compile 412 py_compile.compile(init_path) 424 py_compile.compile(init_path)
|
D | test_sundry.py | 64 import py_compile
|
/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/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
|
D | compileall.rst | 140 Module :mod:`py_compile`
|
/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:
|
D | zipfile.py | 1460 import py_compile 1464 py_compile.compile(file_py, file_pyc, None, True) 1465 except py_compile.PyCompileError,err:
|
/external/python/cpython2/Tools/nuget/ |
D | make_zip.py | 4 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/ |
D | template_expander.py | 67 py_compile=True,
|
/external/libmojo/third_party/jinja2/ |
D | environment.py | 603 ignore_errors=True, py_compile=False): argument 631 if py_compile: 635 py_compile = False 680 if py_compile:
|
/external/python/cpython2/Lib/distutils/ |
D | util.py | 437 from py_compile import compile
|
/external/chromium-trace/catapult/third_party/zipfile/ |
D | zipfile_2_7_13.py | 1460 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/ |
D | Makefile.in | 108 am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile) 109 py_compile = $(top_srcdir)/py-compile
|
/external/python/cpython2/Misc/ |
D | maintainers.rst | 179 py_compile
|
D | cheatsheet | 1953 py_compile Routine to "compile" a .py file to a .pyc file.
|
D | HISTORY | 4769 - 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
|
D | NEWS | 3366 - 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/ |
D | programming.rst | 1861 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/ |
D | apiref.rst | 1226 standard :mod:`py_compile` module, or indirectly by writing a temporary script
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.7.rst | 2403 * When executed as a script, the :file:`py_compile.py` module now
|