[issue17442] code.InteractiveInterpreter doesn't display the exception cause

Philip Jenvey report at bugs.python.org
Sat Mar 16 22:17:44 CET 2013


New submission from Philip Jenvey:

The code module claims to emulate Python's interactive interpreter but it fails to emulate displaying of the exception cause.

It can utilize traceback._iter_chain to do this (see traceback.print_exception)

----------
components: Library (Lib)
messages: 184355
nosy: pjenvey
priority: normal
severity: normal
status: open
title: code.InteractiveInterpreter doesn't display the exception cause
type: behavior
versions: Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17442>
_______________________________________


More information about the Python-bugs-list mailing list