Xavier de Gaye added the comment:

The two issues you are refering to are the instruments that are needed to 
reproduce the problem. The reference to PR 2035 is only made here to argue 
about the question of the correct way to control the successive calls to 
PyErr_NormalizeException(). This question is relevant here since one of the 
problems raised by this issue is that in the case of memory exhaustion the user 
is given a RecursionError as the cause of the problem.

FWIW PR 2035 transforms the tail recursion in PyErr_NormalizeException() into a 
loop (as compilers would do during optimization). An infinite recursion becomes 
then an infinite loop instead. The advantage is that there is no stack 
overflow. The drawback is that it is an infinite loop.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30697>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to