Author vstinner
Recipients pitrou, python-dev, r.david.murray, serhiy.storchaka, vstinner
Date 2015-10-01.22:03:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443737034.43.0.287709591548.issue25274@psf.upfronthosting.co.za>
In-reply-to
Content
> An alternative would be to remove completly the overflowed flag with its fatal error. It was introduced during large refactoring of Python, maybe the bug cannot occur anymore?

By the way, it doesn't exist in Python 2 at all. Try attached double_recursion_error.py program.


$ python2 double_recursion_error.py 
first recursion error
second recursion error


$ python3 double_recursion_error.py 
first recursion error
Fatal Python error: Cannot recover from stack overflow.

Current thread 0x00007f80a6985700 (most recent call first):
  File "double_recursion_error.py", line 5 in f
  File "double_recursion_error.py", line 5 in f
  File "double_recursion_error.py", line 5 in f
  File "double_recursion_error.py", line 5 in f
  ...
Abandon (core dumped)
History
Date User Action Args
2015-10-01 22:03:54vstinnersetrecipients: + vstinner, pitrou, r.david.murray, python-dev, serhiy.storchaka
2015-10-01 22:03:54vstinnersetmessageid: <1443737034.43.0.287709591548.issue25274@psf.upfronthosting.co.za>
2015-10-01 22:03:54vstinnerlinkissue25274 messages
2015-10-01 22:03:54vstinnercreate