[pypy-issue] [issue811] sys.excepthook not used by interactive interpreter

Antonio Cuni tracker at bugs.pypy.org
Wed Jul 27 13:42:49 CEST 2011

Antonio Cuni <anto.cuni at gmail.com> added the comment:

ah right, I suppose it's my fault :)
PyPy uses code.py to display the interactive prompt, while CPython has its own
written in C.

I got the same behavior on top of CPython because by default I use pyrepl (which
in turns uses code.py).  By disabling pyrepl, I can reproduce the "right"
behavior as well.

I suppose the bug belongs to code.py, you might want to submit it also upstream

status: invalid -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list