Searched refs:doraise (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Doc/library/ |
D | py_compile.rst | 30 .. 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/ |
D | py_compile.py | 79 def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1, argument 149 if doraise: 198 compile(filename, doraise=True)
|
D | zipfile.py | 2036 py_compile.compile(file, doraise=True, optimize=optimize)
|
/third_party/python/Lib/test/ |
D | test_multiprocessing_main_handling.py | 200 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)
|
D | test_py_compile.py | 137 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)
|
D | test_cmd_line_script.py | 241 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)
|
D | test_runpy.py | 679 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)
|
D | test_imp.py | 374 doraise=True,
|
/third_party/python/Lib/test/support/ |
D | script_helper.py | 255 init_name = py_compile.compile(init_name, doraise=True) 256 script_name = py_compile.compile(script_name, doraise=True)
|
/third_party/python/PC/layout/ |
D | main.py | 274 doraise=True,
|
/third_party/python/Misc/ |
D | HISTORY | 22153 - py_compile has a new 'doraise' flag and a new PyCompileError
|