Serhiy Storchaka added the comment: Minimal reproducer:
>>> try: ... 1/0 ... except: ... int('spam') ... Traceback (most recent call last): File "<stdin>", line 2, in <module> ZeroDivisionError: division by zero During handling of the above exception, another exception occurred: ValueError: invalid literal for int() with base 10: 'spam' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 4, in <module> SystemError: <class 'ValueError'> returned a result with an error set ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23571> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com