Home
last modified time | relevance | path

Searched refs:exc_info (Results 1 – 25 of 75) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Datexit.py20 exc_info = None
26 exc_info = sys.exc_info()
31 exc_info = sys.exc_info()
33 if exc_info is not None:
34 raise exc_info[0], exc_info[1], exc_info[2]
Dtraceback.py232 etype, value, tb = sys.exc_info()
241 etype, value, tb = sys.exc_info()
269 f = sys.exc_info()[2].tb_frame.f_back
278 f = sys.exc_info()[2].tb_frame.f_back
294 f = sys.exc_info()[2].tb_frame.f_back
Dshutil.py232 onerror(os.path.islink, path, sys.exc_info())
239 onerror(os.listdir, path, sys.exc_info())
252 onerror(os.remove, fullname, sys.exc_info())
256 onerror(os.rmdir, path, sys.exc_info())
Dtypes.py69 tb = sys.exc_info()[2]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Datexit.py20 exc_info = None
26 exc_info = sys.exc_info()
31 exc_info = sys.exc_info()
33 if exc_info is not None:
34 raise exc_info[0], exc_info[1], exc_info[2]
Dcontextlib.py50 if sys.exc_info()[1] is not value:
116 exc = sys.exc_info()
124 exc = sys.exc_info()
153 def __exit__(self, *exc_info): argument
Dtraceback.py231 etype, value, tb = sys.exc_info()
240 etype, value, tb = sys.exc_info()
268 f = sys.exc_info()[2].tb_frame.f_back
277 f = sys.exc_info()[2].tb_frame.f_back
293 f = sys.exc_info()[2].tb_frame.f_back
Ddoctest.py237 def _exception_traceback(exc_info): argument
244 exc_type, exc_val, exc_tb = exc_info
1169 def report_unexpected_exception(self, out, test, example, exc_info): argument
1174 'Exception raised:\n' + _indent(_exception_traceback(exc_info)))
1260 exception = sys.exc_info()
1275 exc_info = sys.exc_info()
1276 exc_msg = traceback.format_exception_only(*exc_info[:2])[-1]
1278 got += _exception_traceback(exc_info)
1308 exc_info)
1639 def __init__(self, test, example, exc_info): argument
[all …]
Dcode.py124 type, value, sys.last_traceback = sys.exc_info()
150 type, value, tb = sys.exc_info()
Dshutil.py229 onerror(os.path.islink, path, sys.exc_info())
236 onerror(os.listdir, path, sys.exc_info())
249 onerror(os.remove, fullname, sys.exc_info())
253 onerror(os.rmdir, path, sys.exc_info())
Dpdb.py192 def user_exception(self, frame, exc_info): argument
197 exc_type, exc_value, exc_traceback = exc_info
240 t, v = sys.exc_info()[:2]
763 t, v = sys.exc_info()[:2]
833 t, v = sys.exc_info()[:2]
1260 t = sys.exc_info()[2]
1324 print sys.exc_info()[1]
1329 t = sys.exc_info()[2]
Dtypes.py69 tb = sys.exc_info()[2]
DSimpleXMLRPCServer.py270 exc_type, exc_value, exc_tb = sys.exc_info()
371 exc_type, exc_value, exc_tb = sys.exc_info()
632 exc_type, exc_value = sys.exc_info()[:2]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/
Dhandlers.py158 def start_response(self, status, headers,exc_info=None): argument
161 if exc_info:
165 raise exc_info[0], exc_info[1], exc_info[2]
167 exc_info = None # avoid dangling circular ref
283 def log_exception(self,exc_info): argument
292 exc_info[0], exc_info[1], exc_info[2],
297 exc_info = None
301 self.log_exception(sys.exc_info())
320 start_response(self.error_status,self.error_headers[:],sys.exc_info())
Dvalidate.py161 exc_info = args[2]
163 exc_info = None
168 check_exc_info(exc_info)
421 def check_exc_info(exc_info): argument
422 assert_(exc_info is None or type(exc_info) is type(()),
423 "exc_info (%r) is not a tuple: %r" % (exc_info, type(exc_info)))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
Dfix_sys_exc.py16 exc_info = [u"exc_type", u"exc_value", u"exc_traceback"] variable in FixSysExc
20 """ % '|'.join("'%s'" % e for e in exc_info)
24 index = Number(self.exc_info.index(sys_attr.value))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_with.py72 if not self.__exit__(*sys.exc_info()):
76 def __exit__(self, *exc_info): argument
80 ex = exc_info
86 ex = sys.exc_info()
88 if ex is not exc_info:
103 def __exit__(self, *exc_info): argument
105 self.exit_args = exc_info
106 return Nested.__exit__(self, *exc_info)
679 def __exit__(self, *exc_info): argument
681 self.exc_info = exc_info
[all …]
Dinspect_fodder.py45 self.ex = sys.exc_info()
Dprofilee.py82 sys.exc_info() # 0
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
D__init__.py79 return sys.exc_info()[2].tb_frame.f_back
243 msg, args, exc_info, func=None): argument
275 self.exc_info = exc_info
468 if record.exc_info:
472 record.exc_text = self.formatException(record.exc_info)
794 ei = sys.exc_info()
1164 self.error(msg, exc_info=1, *args)
1218 def makeRecord(self, name, level, fn, lno, msg, args, exc_info, func=None, extra=None): argument
1223 rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
1231 def _log(self, level, msg, args, exc_info=None, extra=None): argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dcase.py40 def __init__(self, exc_info): argument
42 self.exc_info = exc_info
92 raise _ExpectedFailure(sys.exc_info())
324 result.addError(self, sys.exc_info())
331 result.addFailure(self, sys.exc_info())
335 addExpectedFailure(self, e.exc_info)
347 result.addFailure(self, sys.exc_info())
351 result.addError(self, sys.exc_info())
360 result.addError(self, sys.exc_info())
387 result.addError(self, sys.exc_info())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/
Dfaqw.py30 t, v, tb = sys.exc_info()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dsite.py169 for record in traceback.format_exception(*sys.exc_info()):
483 sys.excepthook(*sys.exc_info())
497 sys.excepthook(*sys.exc_info())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dsite.py171 for record in traceback.format_exception(*sys.exc_info()):
472 sys.excepthook(*sys.exc_info())
486 sys.excepthook(*sys.exc_info())
/device/linaro/bootloader/edk2/BaseTools/Source/Python/TargetTool/
DTargetTool.py79 last_type, last_value, last_tb = sys.exc_info()
136 last_type, last_value, last_tb = sys.exc_info()
258 last_type, last_value, last_tb = sys.exc_info()

123