/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
atexit.py | 20 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]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
atexit.py | 20 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]
|
contextlib.py | 50 if sys.exc_info()[1] is not value:
116 exc = sys.exc_info()
124 exc = sys.exc_info()
126 # Don't rely on sys.exc_info() still containing
153 def __exit__(self, *exc_info):
|
/external/python/cpython2/Lib/ |
atexit.py | 20 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]
|
contextlib.py | 50 if sys.exc_info()[1] is not value: 116 exc = sys.exc_info() 124 exc = sys.exc_info() 126 # Don't rely on sys.exc_info() still containing 153 def __exit__(self, *exc_info):
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
atexit.py | 20 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]
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
atexit.py | 20 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]
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
atexit.py | 20 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]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
atexit.py | 20 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]
|
/external/autotest/site_utils/lxc/ |
cleanup_if_fail.py | 41 exc_info = sys.exc_info() 50 raise exc_info[0], exc_info[1], exc_info[2]
|
/test/vts/utils/python/retry/ |
retry.py | 77 exc_info = None 97 if exc_info is None or not raise_first_exception_on_failure: 98 exc_info = sys.exc_info() 104 raise exc_info[0], exc_info[1], exc_info[2]
|
/external/devlib/devlib/ |
exception.py | 64 def __init__(self, thread, exc_info): 66 self.exc_info = exc_info 67 orig = self.exc_info[1] 70 message += '{}\n{}: {}'.format(get_traceback(self.exc_info), orig_name, orig) 82 exc = sys.exc_info() 88 del tb # needs to be done explicitly see: http://docs.python.org/2/library/sys.html#sys.exc_info
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
fix_sys_exc.py | 3 sys.exc_type -> sys.exc_info()[0]
4 sys.exc_value -> sys.exc_info()[1]
5 sys.exc_traceback -> sys.exc_info()[2]
15 # This order matches the ordering of sys.exc_info().
16 exc_info = [u"exc_type", u"exc_value", u"exc_traceback"]
variable in class:FixSysExc 20 """ % '|'.join("'%s'" % e for e in exc_info)
24 index = Number(self.exc_info.index(sys_attr.value))
26 call = Call(Name(u"exc_info"), prefix=sys_attr.prefix)
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
fix_sys_exc.py | 3 sys.exc_type -> sys.exc_info()[0] 4 sys.exc_value -> sys.exc_info()[1] 5 sys.exc_traceback -> sys.exc_info()[2] 15 # This order matches the ordering of sys.exc_info(). 16 exc_info = [u"exc_type", u"exc_value", u"exc_traceback"] variable in class:FixSysExc 20 """ % '|'.join("'%s'" % e for e in exc_info) 24 index = Number(self.exc_info.index(sys_attr.value)) 26 call = Call(Name(u"exc_info"), prefix=sys_attr.prefix)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_sys_exc.py | 3 sys.exc_type -> sys.exc_info()[0] 4 sys.exc_value -> sys.exc_info()[1] 5 sys.exc_traceback -> sys.exc_info()[2] 15 # This order matches the ordering of sys.exc_info(). 16 exc_info = [u"exc_type", u"exc_value", u"exc_traceback"] variable in class:FixSysExc 20 """ % '|'.join("'%s'" % e for e in exc_info) 24 index = Number(self.exc_info.index(sys_attr.value)) 26 call = Call(Name(u"exc_info"), prefix=sys_attr.prefix)
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_sys_exc.py | 3 sys.exc_type -> sys.exc_info()[0] 4 sys.exc_value -> sys.exc_info()[1] 5 sys.exc_traceback -> sys.exc_info()[2] 15 # This order matches the ordering of sys.exc_info(). 16 exc_info = [u"exc_type", u"exc_value", u"exc_traceback"] variable in class:FixSysExc 20 """ % '|'.join("'%s'" % e for e in exc_info) 24 index = Number(self.exc_info.index(sys_attr.value)) 26 call = Call(Name(u"exc_info"), prefix=sys_attr.prefix)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_sys_exc.py | 3 sys.exc_type -> sys.exc_info()[0] 4 sys.exc_value -> sys.exc_info()[1] 5 sys.exc_traceback -> sys.exc_info()[2] 15 # This order matches the ordering of sys.exc_info(). 16 exc_info = [u"exc_type", u"exc_value", u"exc_traceback"] variable in class:FixSysExc 20 """ % '|'.join("'%s'" % e for e in exc_info) 24 index = Number(self.exc_info.index(sys_attr.value)) 26 call = Call(Name(u"exc_info"), prefix=sys_attr.prefix)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_sys_exc.py | 3 sys.exc_type -> sys.exc_info()[0] 4 sys.exc_value -> sys.exc_info()[1] 5 sys.exc_traceback -> sys.exc_info()[2] 15 # This order matches the ordering of sys.exc_info(). 16 exc_info = [u"exc_type", u"exc_value", u"exc_traceback"] variable in class:FixSysExc 20 """ % '|'.join("'%s'" % e for e in exc_info) 24 index = Number(self.exc_info.index(sys_attr.value)) 26 call = Call(Name(u"exc_info"), prefix=sys_attr.prefix)
|
/external/libmojo/third_party/jinja2/ |
debug.py | 117 def exc_info(self): member in class:ProcessedTraceback 123 """Standard python exc_info for re-raising""" 132 def make_traceback(exc_info, source_hint=None): 133 """Creates a processed traceback object from the exc_info.""" 134 exc_type, exc_value, tb = exc_info 136 exc_info = translate_syntax_error(exc_value, source_hint) 140 return translate_exception(exc_info, initial_skip) 147 exc_info = (error.__class__, error, None) 151 return fake_exc_info(exc_info, filename, error.lineno) 154 def translate_exception(exc_info, initial_skip=0) [all...] |
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
utils.py | 40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))
|
/external/googletest/googlemock/scripts/generator/cpp/ |
utils.py | 40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))
|
/external/v8/testing/gmock/scripts/generator/cpp/ |
utils.py | 40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))
|
/external/autotest/client/common_lib/cros/ |
retry.py | 191 exc_info = None 215 exc_info = None 230 exc_info = sys.exc_info() 242 if not exc_info: 249 raise exception_to_raise('%s: %s' % (exc_info[0], exc_info[1])) 250 raise exc_info[0], exc_info[1], exc_info[2 [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/ |
faqw.py | 30 t, v, tb = sys.exc_info()
|
/external/python/cpython2/Tools/faqwiz/ |
faqw.py | 30 t, v, tb = sys.exc_info()
|