[issue37402] Fatal Python error: Cannot recover from stack overflow issues on Python 3.6 and 3.7

hongweipeng report at bugs.python.org
Thu Sep 5 05:47:50 EDT 2019


hongweipeng <hongweichen8888 at sina.com> added the comment:

According to the provided text.py file. `__exit__` will always execute due to the `with` syntax. It looks like this:
```
def rec():
    try:
        rec()
    except RecursionError:
        rec()

rec()
```

----------
nosy: +hongweipeng

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37402>
_______________________________________


More information about the Python-bugs-list mailing list