Home
last modified time | relevance | path

Searched refs:doraise (Results 1 – 15 of 15) 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.py65 def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1): argument
128 if doraise:
168 compile(filename, doraise=True)
178 compile(filename, doraise=True)
Dzipfile.py1883 py_compile.compile(file, doraise=True, optimize=optimize)
/external/python/cpython3/Lib/test/
Dtest_multiprocessing_main_handling.py189 py_compile.compile(script_name, doraise=True)
206 py_compile.compile(script_name, doraise=True)
224 compiled_name = py_compile.compile(script_name, doraise=True)
266 compiled_name = py_compile.compile(script_name, doraise=True)
Dtest_cmd_line_script.py234 py_compile.compile(script_name, doraise=True)
251 py_compile.compile(script_name, doraise=True)
273 compiled_name = py_compile.compile(script_name, doraise=True)
325 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.py97 self.assertIsNone(py_compile.compile(bad_coding, doraise=False))
/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/python/cpython3/Doc/library/
Dpy_compile.rst30 .. function:: compile(file, cfile=None, dfile=None, doraise=False, optimize=-1)
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.py239 init_name = py_compile.compile(init_name, doraise=True)
240 script_name = py_compile.compile(script_name, doraise=True)
/external/python/cpython2/Lib/test/
Dscript_helper.py115 py_compile.compile(script_name, doraise=True)
/external/python/cpython2/Tools/nuget/
Dmake_zip.py133 py_compile.compile(str(s), str(pyc), str(rel), doraise=True, optimize=2)
/external/python/cpython3/Tools/msi/
Dmake_zip.py148 py_compile.compile(str(s), str(pyc), str(rel), doraise=True, optimize=2)
/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