New submission from ThePokestarFan <sarkarao...@gmail.com>:
If I set up a simple recursion exception function, that calls itself every time an error is raised, Python throws a SIGABRT and crashes due to a "Stack Overflow". def x(): try: raise Exception() except Exception: x() Oddly enough, my system installation of Python 2.7 threw a RuntimeError instead of aborting, which is what I expected. ---------- components: Interpreter Core, macOS files: error.log messages: 364646 nosy: ThePokestarFan, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: Throwing an Exception results in stack overflow type: crash versions: Python 3.7 Added file: https://bugs.python.org/file48984/error.log _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40021> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com