Searched defs:traceback (Results 26 - 50 of 51) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
H A Dconfig.py27 import sys, logging, logging.handlers, socket, struct, os, traceback, re namespace
830 traceback.print_exc()
H A D__init__.py26 import sys, os, time, cStringIO, traceback, warnings, weakref namespace
276 self.exc_text = None # used to cache the traceback text
435 traceback.print_exception()
438 traceback.print_exception(ei[0], ei[1], ei[2], None, sio)
469 # Cache the traceback text to avoid converting it multiple times
796 traceback.print_exception(ei[0], ei[1], ei[2],
837 traceback.print_exception and appended to the stream. If the stream
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Drexec.py536 import getopt, traceback namespace
583 traceback.print_exc()
H A Dcgi.py925 import traceback namespace
928 list = traceback.format_tb(tb, limit) + \
929 traceback.format_exception_only(type, value)
H A Dcookielib.py61 import warnings, traceback, StringIO namespace
63 traceback.print_exc(None, f)
H A Ddoctest.py98 import sys, traceback, inspect, linecache, os, re namespace
239 Return a string containing a traceback message for the given
242 # Get a traceback message.
245 traceback.print_exception(exc_type, exc_val, exc_tb, file=excout)
410 from stdout, or a traceback in case of exception). `want` ends
418 `traceback.format_exception_only()`. `exc_msg` ends with a
538 # - the traceback header line (`hdr`)
539 # - the traceback stack (`stack`)
541 # traceback.format_exception_only()
544 # character following the traceback heade
[all...]
H A Dpdb.py15 import traceback namespace
207 def interaction(self, frame, traceback):
208 self.setup(frame, traceback)
878 # Print a traceback starting at the top stack frame.
1258 # sys.exc_info() returns (type, value, traceback) if an exception is
1262 raise ValueError("A valid traceback must be passed if no "
1326 traceback.print_exc()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
H A Dasdl.py14 import traceback namespace
310 traceback.print_exc()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
H A DCommandLine.py23 import sys, getopt, string, glob, os, re, exceptions, traceback namespace
361 print '* Internal Error (use --debug to display the traceback)'
364 traceback.print_exc(20, sys.stdout)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
H A DBuildReport.py23 import traceback namespace
1050 EdkLogger.quiet("(Python %s on %s\n%s)" % (platform.python_version(), sys.platform, traceback.format_exc()))
1608 EdkLogger.quiet("(Python %s on %s\n%s)" % (platform.python_version(), sys.platform, traceback.format_exc()))
H A Dbuild.py26 import traceback namespace
2062 EdkLogger.quiet("(Python %s on %s) " % (platform.python_version(), sys.platform) + traceback.format_exc())
2070 EdkLogger.quiet("(Python %s on %s) " % (platform.python_version(), sys.platform) + traceback.format_exc())
2077 EdkLogger.quiet("(Python %s on %s) " % (platform.python_version(), sys.platform) + traceback.format_exc())
2097 EdkLogger.quiet("(Python %s on %s) " % (platform.python_version(), sys.platform) + traceback.format_exc())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A Dpyexpat.c302 PyObject *type, *value, *traceback, *arg; local
308 PyErr_Fetch(&type, &value, &traceback);
314 arg = Py_BuildValue("(OOO)", type, value, traceback);
316 arg = PyTuple_Pack(3, type, value, traceback);
319 PyErr_Restore(type, value, traceback);
325 PyErr_Restore(type, value, traceback);
329 Py_XDECREF(traceback);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Derrors.c25 PyErr_Restore(PyObject *type, PyObject *value, PyObject *traceback) argument
30 if (traceback != NULL && !PyTraceBack_Check(traceback)) {
33 Py_DECREF(traceback);
34 traceback = NULL;
45 tstate->curexc_traceback = traceback;
214 /* If the new exception doesn't set a traceback and the old
215 exception had a traceback, use the old traceback for the
238 /* just keeping the old traceback */
[all...]
H A Dceval.c1839 u = POP(); /* traceback */
2874 /* Log traceback info if this is a real exception */
3363 (Example: traceback.print_exc()).
3503 gives the traceback to be substituted (useful when
3506 /* First, check the traceback argument, replacing None with
3514 "raise: arg 3 must be a traceback or None");
3652 PyObject *type, *value, *traceback, *arg; local
3654 PyErr_Fetch(&type, &value, &traceback);
3659 arg = PyTuple_Pack(3, type, value, traceback);
3661 PyErr_Restore(type, value, traceback);
3679 PyObject *type, *value, *traceback; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dregrtest.py163 import traceback namespace
905 traceback.print_exc(file=sys.stderr)
H A Dtest_cookielib.py174 import traceback, StringIO namespace
176 traceback.print_exc(None, f)
177 result = "(error -- traceback follows)\n\n%s" % f.getvalue()
H A Dtest_re.py6 import traceback namespace
789 traceback.print_exc(file=sys.stdout)
H A Dtest_ssl.py15 import traceback namespace
30 exc_format = ' '.join(traceback.format_exception(*sys.exc_info()))
H A Dtest_sys.py77 typ, value, traceback = sys.exc_info()
80 self.assertTrue(traceback is not None)
85 typ, value, traceback = sys.exc_info()
88 self.assertTrue(traceback is None)
307 import traceback namespace
348 stack = traceback.extract_stack(frame)
779 # traceback
H A Dtest_socket.py10 import traceback namespace
1372 (sys.exc_info()[:2] + (traceback.format_exc(),)))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dpyexpat.c302 PyObject *type, *value, *traceback, *arg; local
308 PyErr_Fetch(&type, &value, &traceback);
314 arg = Py_BuildValue("(OOO)", type, value, traceback);
316 arg = PyTuple_Pack(3, type, value, traceback);
319 PyErr_Restore(type, value, traceback);
325 PyErr_Restore(type, value, traceback);
329 Py_XDECREF(traceback);
H A D_testcapimodule.c1594 PyObject *traceback; local
1598 &traceback, &file))
1601 result = PyTraceBack_Print(traceback, file);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Derrors.c25 PyErr_Restore(PyObject *type, PyObject *value, PyObject *traceback) argument
30 if (traceback != NULL && !PyTraceBack_Check(traceback)) {
33 Py_DECREF(traceback);
34 traceback = NULL;
45 tstate->curexc_traceback = traceback;
212 /* If the new exception doesn't set a traceback and the old
213 exception had a traceback, use the old traceback for the
236 /* just keeping the old traceback */
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
H A Dtextio.c2337 PyObject *type, *value, *traceback; local
2338 PyErr_Fetch(&type, &value, &traceback);
2341 _PyErr_ReplaceException(type, value, traceback);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
H A Dtextio.c2286 PyObject *type, *value, *traceback; local
2287 PyErr_Fetch(&type, &value, &traceback);
2295 PyErr_Restore(type, value, traceback);

Completed in 382 milliseconds

123