New issue 2288: OperationError with an error in a setprofile function at process exit https://bitbucket.org/pypy/pypy/issues/2288/operationerror-with-an-error-in-a
David MacIver: If I run the following file: ```python import sys t = [0] def ca(f, v, g): if v == 'call': t.pop() def o(): raise ValueError() sys.setprofile(ca) o() ``` Gives the following output: ``` debug: OperationError: debug: operror-type: IndexError debug: operror-value: list index out of range ``` While it should probably (and CPython does) print a ValueError plus a stack trace. _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue