[issue1860] traceback.print_last fails

Χρήστος Γεωργίου (Christos Georgiou) report at bugs.python.org
Thu Jan 17 14:27:58 CET 2008


New submission from Χρήστος Γεωργίου (Christos Georgiou):

traceback.print_last() depends on the existence of sys.last_type,
sys.last_value, sys.last_traceback, which don't always exist when
called. See attached example file. I will shortly send the patch for
Lib/traceback.py

----------
components: Library (Lib)
files: test_tb_print_last.py
messages: 60028
nosy: tzot
severity: normal
status: open
title: traceback.print_last fails
type: behavior
versions: Python 2.5, Python 2.6
Added file: http://bugs.python.org/file9193/test_tb_print_last.py

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1860>
__________________________________


More information about the Python-bugs-list mailing list