Searched refs:doraise (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython2/Lib/ |
D | py_compile.py | 71 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/ |
D | py_compile.py | 65 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)
|
D | zipfile.py | 1883 py_compile.compile(file, doraise=True, optimize=optimize)
|
/external/python/cpython3/Lib/test/ |
D | test_multiprocessing_main_handling.py | 189 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)
|
D | test_cmd_line_script.py | 234 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)
|
D | test_runpy.py | 669 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)
|
D | test_py_compile.py | 97 self.assertIsNone(py_compile.compile(bad_coding, doraise=False))
|
/external/python/cpython2/Doc/library/ |
D | py_compile.rst | 29 .. 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/ |
D | py_compile.rst | 30 .. 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/ |
D | script_helper.py | 239 init_name = py_compile.compile(init_name, doraise=True) 240 script_name = py_compile.compile(script_name, doraise=True)
|
/external/python/cpython2/Lib/test/ |
D | script_helper.py | 115 py_compile.compile(script_name, doraise=True)
|
/external/python/cpython2/Tools/nuget/ |
D | make_zip.py | 133 py_compile.compile(str(s), str(pyc), str(rel), doraise=True, optimize=2)
|
/external/python/cpython3/Tools/msi/ |
D | make_zip.py | 148 py_compile.compile(str(s), str(pyc), str(rel), doraise=True, optimize=2)
|
/external/python/cpython2/Misc/ |
D | HISTORY | 4769 - py_compile has a new 'doraise' flag and a new PyCompileError
|
/external/python/cpython3/Misc/ |
D | HISTORY | 22153 - py_compile has a new 'doraise' flag and a new PyCompileError
|