New submission from aliles <aaron.i...@gmail.com>:

code.InteractiveConsole doesn't match the CPython interactive interpreter with 
respect to allowing sys.excepthook to handle exceptions. Unlike the interactive 
interpreter, replacing sys.excepthook with an alternate function will not 
change exception handling behaviour from inside a code.InteractiveConole

This affects downstream interpreters such as PyPy.
https://bugs.pypy.org/issue811

----------
components: Library (Lib)
files: console.py
messages: 141222
nosy: aliles
priority: normal
severity: normal
status: open
title: code.InteractiveConsole ignores sys.excepthook
type: behavior
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file22771/console.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12643>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to