[issue6717] Some problem with recursion handling

Dino Viehland report at bugs.python.org
Thu Apr 12 18:12:11 CEST 2012


Dino Viehland <dinov at microsoft.com> added the comment:

Antoine: If you're looking at my test.py then my expectation is that this doesn't crash because a RuntimeError should be raised when the maximum recursion limit is hit, and then the trace handler should be uninstalled because it leaks an exception.  And that's exactly what seems to happens on Python 2.x.  We shouldn't ever hit the OS stack limit because Python's recursion limit should be enforced even in the face of a sys.settrace handler.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6717>
_______________________________________


More information about the Python-bugs-list mailing list