Roundup Robot added the comment:
New changeset f28aff31900a by Serhiy Storchaka in branch '3.2':
Issue #16491: IDLE now prints chained exception tracebacks.
http://hg.python.org/cpython/rev/f28aff31900a
New changeset 3feead75c7a5 by Serhiy Storchaka in branch '3.3':
Issue #16491: IDLE now
Serhiy Storchaka added the comment:
Fixed. Thank you for report, Hans.
--
components: +IDLE
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
If no one objects I will commit this next year.
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
___
Serhiy Storchaka added the comment:
The bug is somewhere in print_exception() function in Lib/idlelib/run.py.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
___
Serhiy Storchaka added the comment:
Here is a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file28092/idle_print_exception.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.2
Added file: http://bugs.python.org/file28093/idle_print_exception-3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
Terry J. Reedy added the comment:
I marked this as 3.3+ bug because double reporting is new in 3.x and 'from
None' is new in 3.3 (it causes a TypeError in the raise statement ;-).
Command prompt output appears 'correct' (as intended).
[I added blank lines before each try: for reading ease]
Serhiy Storchaka added the comment:
On Linux the result is the same.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16491
___