Home
last modified time | relevance | path

Searched refs:exc_type (Results 1 – 23 of 23) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpy_compile.py45 def __init__(self, exc_type, exc_value, file, msg=''): argument
46 exc_type_name = exc_type.__name__
47 if exc_type is SyntaxError:
48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
DSimpleXMLRPCServer.py270 exc_type, exc_value, exc_tb = sys.exc_info()
272 xmlrpclib.Fault(1, "%s:%s" % (exc_type, exc_value)),
371 exc_type, exc_value, exc_tb = sys.exc_info()
374 'faultString' : "%s:%s" % (exc_type, exc_value)}
632 exc_type, exc_value = sys.exc_info()[:2]
634 xmlrpclib.Fault(1, "%s:%s" % (exc_type, exc_value)),
Dpdb.py197 exc_type, exc_value, exc_traceback = exc_info
198 frame.f_locals['__exception__'] = exc_type, exc_value
199 if type(exc_type) == type(''):
200 exc_type_name = exc_type
201 else: exc_type_name = exc_type.__name__
Dbdb.py166 exc_type, exc_value, exc_traceback = exc_info
Ddoctest.py244 exc_type, exc_val, exc_tb = exc_info
245 traceback.print_exception(exc_type, exc_val, exc_tb, file=excout)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_with.py217 exc_type=None): argument
220 if exc_type is None:
222 exc_type = type(self.TEST_EXCEPTION)
223 self.assertEqual(mock_manager.exit_args[0], exc_type)
225 self.assertIsInstance(mock_manager.exit_args[1], exc_type)
Dtest_fractions.py117 def assertRaisesMessage(self, exc_type, message, argument
122 except exc_type, e:
125 self.fail("%s not raised" % exc_type.__name__)
Dtest_shutil.py720 def __exit__(self, exc_type, exc_val, exc_tb): argument
721 self._exited_with = exc_type, exc_val, exc_tb
Dregrtest.py824 def __exit__(self, exc_type, exc_val, exc_tb): argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dpystate.h79 PyObject *exc_type; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dpystate.h79 PyObject *exc_type; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpystate.c186 tstate->exc_type = NULL; in new_threadstate()
246 Py_CLEAR(tstate->exc_type); in PyThreadState_Clear()
Dsysmodule.c156 tstate->exc_type != NULL ? tstate->exc_type : Py_None, in sys_exc_info()
180 tmp_type = tstate->exc_type; in sys_exc_clear()
183 tstate->exc_type = NULL; in sys_exc_clear()
Dceval.c3395 if (tstate->exc_type == NULL) { in set_exc_info()
3398 tstate->exc_type = Py_None; in set_exc_info()
3400 Py_INCREF(tstate->exc_type); in set_exc_info()
3403 frame->f_exc_type = tstate->exc_type; in set_exc_info()
3408 tmp_type = tstate->exc_type; in set_exc_info()
3414 tstate->exc_type = type; in set_exc_info()
3441 tmp_type = tstate->exc_type; in reset_exc_info()
3447 tstate->exc_type = frame->f_exc_type; in reset_exc_info()
3479 type = tstate->exc_type == NULL ? Py_None : tstate->exc_type; in do_raise()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpystate.c187 tstate->exc_type = NULL; in new_threadstate()
244 Py_CLEAR(tstate->exc_type); in PyThreadState_Clear()
Dsysmodule.c156 tstate->exc_type != NULL ? tstate->exc_type : Py_None, in sys_exc_info()
180 tmp_type = tstate->exc_type; in sys_exc_clear()
183 tstate->exc_type = NULL; in sys_exc_clear()
Dceval.c3381 if (tstate->exc_type == NULL) { in set_exc_info()
3384 tstate->exc_type = Py_None; in set_exc_info()
3386 Py_INCREF(tstate->exc_type); in set_exc_info()
3389 frame->f_exc_type = tstate->exc_type; in set_exc_info()
3394 tmp_type = tstate->exc_type; in set_exc_info()
3400 tstate->exc_type = type; in set_exc_info()
3427 tmp_type = tstate->exc_type; in reset_exc_info()
3433 tstate->exc_type = frame->f_exc_type; in reset_exc_info()
3465 type = tstate->exc_type == NULL ? Py_None : tstate->exc_type; in do_raise()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Dserver.py86 reply = (sys.exc_type, sys.exc_value, id)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dcase.py108 def __exit__(self, exc_type, exc_value, tb): argument
109 if exc_type is None:
116 if not issubclass(exc_type, self.expected):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
Dgopher.py194 print '***', sys.exc_type, ':', sys.exc_value
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DComplex.py236 result = sys.exc_type
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dconnection.c1526 PyObject* exc_type, *exc_value, *exc_tb; in pysqlite_connection_exit() local
1530 if (!PyArg_ParseTuple(args, "OOO", &exc_type, &exc_value, &exc_tb)) { in pysqlite_connection_exit()
1534 if (exc_type == Py_None && exc_value == Py_None && exc_tb == Py_None) { in pysqlite_connection_exit()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
Dwebchecker.py763 exc_type, exc_value, exc_tb = sys.exc_info()