Home
last modified time | relevance | path

Searched refs:doraise (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Lib/
Dpy_compile.py71 def compile(file, cfile=None, dfile=None, doraise=False): argument
116 if doraise:
152 compile(filename, doraise=True)
162 compile(filename, doraise=True)
/external/python/cpython3/Lib/
Dpy_compile.py79 def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1, argument
146 if doraise:
194 compile(filename, doraise=True)
204 compile(filename, doraise=True)
Dzipfile.py2025 py_compile.compile(file, doraise=True, optimize=optimize)
/external/python/cpython3/Lib/test/
Dtest_multiprocessing_main_handling.py198 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_cmd_line_script.py226 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_runpy.py669 compiled_name = py_compile.compile(script_name, doraise=True)
685 compiled_name = py_compile.compile(script_name, doraise=True)
711 compiled_name = py_compile.compile(script_name, doraise=True)
Dtest_py_compile.py135 self.assertIsNone(py_compile.compile(bad_coding, doraise=False))
Dtest_imp.py361 doraise=True,
/external/python/cpython2/Doc/library/
Dpy_compile.rst29 .. function:: compile(file[, cfile[, dfile[, doraise]]])
35 name of the source file in error messages instead of *file*. If *doraise* is
37 compiling *file*. If *doraise* is false (the default), an error string is
/external/fonttools/
Dsetup.py21 def doraise_py_compile(file, cfile=None, dfile=None, doraise=False): argument
22 orig_py_compile(file, cfile=cfile, dfile=dfile, doraise=True)
/external/python/cpython3/Doc/library/
Dpy_compile.rst30 .. function:: compile(file, cfile=None, dfile=None, doraise=False, optimize=-1, invalidation_mode=P…
39 instead of *file*. If *doraise* is true, a :exc:`PyCompileError` is raised
40 when an error is encountered while compiling *file*. If *doraise* is false
/external/python/cpython3/Lib/test/support/
Dscript_helper.py248 init_name = py_compile.compile(init_name, doraise=True)
249 script_name = py_compile.compile(script_name, doraise=True)
/external/python/cpython2/Lib/test/support/
Dscript_helper.py115 py_compile.compile(script_name, doraise=True)
/external/python/cpython2/Tools/nuget/
Dmake_zip.py134 py_compile.compile(str(s), str(pyc), str(rel), doraise=True, optimize=2)
/external/python/cpython3/PC/layout/
Dmain.py263 doraise=True,
/external/python/cpython2/Misc/
DHISTORY4769 - py_compile has a new 'doraise' flag and a new PyCompileError
/external/python/cpython3/Misc/
DHISTORY22153 - py_compile has a new 'doraise' flag and a new PyCompileError