/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/ |
H A D | config.py | 27 import sys, logging, logging.handlers, socket, struct, os, traceback, re
namespace 830 traceback.print_exc()
|
H A D | __init__.py | 26 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 D | rexec.py | 536 import getopt, traceback
namespace 583 traceback.print_exc()
|
H A D | cgi.py | 925 import traceback
namespace 928 list = traceback.format_tb(tb, limit) + \
929 traceback.format_exception_only(type, value)
|
H A D | cookielib.py | 61 import warnings, traceback, StringIO
namespace 63 traceback.print_exc(None, f)
|
H A D | doctest.py | 98 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 D | pdb.py | 15 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 D | asdl.py | 14 import traceback
namespace 310 traceback.print_exc()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
H A D | CommandLine.py | 23 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 D | BuildReport.py | 23 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 D | build.py | 26 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 D | pyexpat.c | 302 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 D | errors.c | 25 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 D | ceval.c | 1839 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 D | regrtest.py | 163 import traceback
namespace 905 traceback.print_exc(file=sys.stderr)
|
H A D | test_cookielib.py | 174 import traceback, StringIO
namespace 176 traceback.print_exc(None, f)
177 result = "(error -- traceback follows)\n\n%s" % f.getvalue()
|
H A D | test_re.py | 6 import traceback
namespace 789 traceback.print_exc(file=sys.stdout)
|
H A D | test_ssl.py | 15 import traceback
namespace 30 exc_format = ' '.join(traceback.format_exception(*sys.exc_info()))
|
H A D | test_sys.py | 77 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 D | test_socket.py | 10 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 D | pyexpat.c | 302 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.c | 1594 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 D | errors.c | 25 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 D | textio.c | 2337 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 D | textio.c | 2286 PyObject *type, *value, *traceback;
local 2287 PyErr_Fetch(&type, &value, &traceback);
2295 PyErr_Restore(type, value, traceback);
|