Home
last modified time | relevance | path

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

/third_party/python/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
45 The *doraise* and *quiet* arguments determine how errors are handled while
46 compiling file. If *quiet* is 0 or 1, and *doraise* is false, the default
48 function returns ``None`` instead of a path. If *doraise* is true,
50 no message is written, and *doraise* has no effect.
/third_party/python/Lib/
Dpy_compile.py79 def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1, argument
149 if doraise:
198 compile(filename, doraise=True)
Dzipfile.py2036 py_compile.compile(file, doraise=True, optimize=optimize)
/third_party/python/Lib/test/
Dtest_multiprocessing_main_handling.py200 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)
Dtest_py_compile.py137 self.assertIsNone(py_compile.compile(bad_coding, doraise=False))
200 self.assertIsNone(py_compile.compile(bad_coding, doraise=False, quiet=2))
201 self.assertIsNone(py_compile.compile(bad_coding, doraise=True, quiet=2))
204 py_compile.compile(bad_coding, doraise=True, quiet=1)
Dtest_cmd_line_script.py241 py_compile.compile(script_name, doraise=True)
258 py_compile.compile(script_name, doraise=True)
281 script_name, doraise=True,
291 script_name, doraise=True,
301 script_name, doraise=True,
354 compiled_name = py_compile.compile(script_name, doraise=True)
Dtest_runpy.py679 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)
Dtest_imp.py374 doraise=True,
/third_party/python/Lib/test/support/
Dscript_helper.py255 init_name = py_compile.compile(init_name, doraise=True)
256 script_name = py_compile.compile(script_name, doraise=True)
/third_party/python/PC/layout/
Dmain.py274 doraise=True,
/third_party/python/Misc/
DHISTORY22153 - py_compile has a new 'doraise' flag and a new PyCompileError