/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/chromium_org/chrome/common/extensions/docs/server2/ |
future.py | 23 def __init__(self, value=_no_value, delegate=None, exc_info=None): 26 self._exc_info = exc_info 43 self._exc_info = sys.exc_info() 47 exc_info = self._exc_info 48 raise exc_info[0], exc_info[1], exc_info[2]
|
compiled_file_system.py | 170 return Future(exc_info=sys.exc_info()) 211 return Future(exc_info=sys.exc_info()) 234 return Future(exc_info=sys.exc_info())
|
/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]
|
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/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]
|
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/chromium_org/build/android/pylib/host_driven/ |
test_runner.py | 22 def __init__(self, test_name, start_date_ms, exc_info): 28 exc_info: exception info, ostensibly from sys.exc_info(). 30 exc_type, exc_value, exc_traceback = exc_info 97 exc_info = sys.exc_info() 100 test.tagged_name, start_date_ms, exc_info)) 111 exc_info = sys.exc_info() 114 test.tagged_name, start_date_ms, exc_info)) [all...] |
/external/chromium_org/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...] |
environment.py | 454 exc_info = sys.exc_info() 455 self.handle_exception(exc_info, source_hint=source) 475 exc_info = sys.exc_info() 476 self.handle_exception(exc_info, source_hint=source) 553 exc_info = sys.exc_info() 554 self.handle_exception(exc_info, source_hint=source) 585 exc_info = Non [all...] |
/external/chromium_org/build/android/pylib/linker/ |
test_runner.py | 28 def __init__(self, test_name, exc_info): 33 exc_info: exception info, ostensibly from sys.exc_info(). 35 exc_type, exc_value, exc_traceback = exc_info 97 exc_info = sys.exc_info() 100 test.tagged_name, exc_info))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
inspect_fodder.py | 45 self.ex = sys.exc_info()
|
test_cprofile.py | 61 4 0.000 0.000 0.000 0.000 {sys.exc_info} 89 {sys.exc_info} <- 4 0.000 0.000 profilee.py:73(helper1) 110 4 0.000 0.000 {sys.exc_info} 121 {sys.exc_info} ->
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
inspect_fodder.py | 45 self.ex = sys.exc_info()
|
test_cprofile.py | 61 4 0.000 0.000 0.000 0.000 {sys.exc_info} 89 {sys.exc_info} <- 4 0.000 0.000 profilee.py:73(helper1) 110 4 0.000 0.000 {sys.exc_info} 121 {sys.exc_info} ->
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/wsgiref/ |
handlers.py | 160 def start_response(self, status, headers,exc_info=None): 163 if exc_info: 167 raise exc_info[0], exc_info[1], exc_info[2] 169 exc_info = None # avoid dangling circular ref 285 def log_exception(self,exc_info): 286 """Log the 'exc_info' tuple in the server log 294 exc_info[0], exc_info[1], exc_info[2] [all...] |
validate.py | 73 * That the exc_info argument to start_response is a tuple or None. 161 exc_info = args[2] 163 exc_info = None 168 check_exc_info(exc_info) 421 def check_exc_info(exc_info): 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))) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/wsgiref/ |
handlers.py | 160 def start_response(self, status, headers,exc_info=None): 163 if exc_info: 167 raise exc_info[0], exc_info[1], exc_info[2] 169 exc_info = None # avoid dangling circular ref 285 def log_exception(self,exc_info): 286 """Log the 'exc_info' tuple in the server log 294 exc_info[0], exc_info[1], exc_info[2] [all...] |
validate.py | 73 * That the exc_info argument to start_response is a tuple or None. 161 exc_info = args[2] 163 exc_info = None 168 check_exc_info(exc_info) 421 def check_exc_info(exc_info): 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))) [all...] |
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/handlers/ |
buildershandler.py | 74 exc_info = sys.exc_info() 75 logging.warning('Error while fetching %s: %s', url, exc_info[1]) 81 exc_info = sys.exc_info() 82 logging.warning('Unable to parse JSON response from %s: %s', url, exc_info[1])
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_test_results.py | 59 self.AddFailure(page, sys.exc_info()) 65 self.AddError(page, sys.exc_info())
|
/external/chromium/testing/gmock/scripts/generator/cpp/ |
utils.py | 40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_result.py | 109 # tracebacks instead of sys.exc_info() results." 115 # of sys.exc_info() results." 138 # the form returned by sys.exc_info(): (type, value, traceback)" 148 # tracebacks instead of sys.exc_info() results." 154 # of sys.exc_info() results." 164 exc_info_tuple = sys.exc_info() 185 # is a tuple of the form returned by sys.exc_info(): 196 # tracebacks instead of sys.exc_info() results." 202 # of sys.exc_info() results." 212 exc_info_tuple = sys.exc_info() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_result.py | 109 # tracebacks instead of sys.exc_info() results." 115 # of sys.exc_info() results." 138 # the form returned by sys.exc_info(): (type, value, traceback)" 148 # tracebacks instead of sys.exc_info() results." 154 # of sys.exc_info() results." 164 exc_info_tuple = sys.exc_info() 185 # is a tuple of the form returned by sys.exc_info(): 196 # tracebacks instead of sys.exc_info() results." 202 # of sys.exc_info() results." 212 exc_info_tuple = sys.exc_info() [all...] |