This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xxm
Recipients ronaldoussoren, xxm
Date 2020-12-17.16:33:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608222837.8.0.0595818813816.issue42652@roundup.psfhosted.org>
In-reply-to
Content
In issue #42500, crashes is resulted by recursion and try-except. Program like following will crash the interpreter.
=====
def foo():
	try:
		1/0
	except:
		pass
	foo()
foo()
=====
However with traceback module, program will no longer crash the interpreter. A recursive Error is returned as expected. 
=====
import traceback
def foo():
	try:
		1/0
	except:
		traceback.print_exc()
	foo()
foo()
=====
But it is still crash the interpreter in finally clause. I think this might be a new but and it is different from #42500. It should be related to traceback module, finally clause and recursion. what do you think?
History
Date User Action Args
2020-12-17 16:33:57xxmsetrecipients: + xxm, ronaldoussoren
2020-12-17 16:33:57xxmsetmessageid: <1608222837.8.0.0595818813816.issue42652@roundup.psfhosted.org>
2020-12-17 16:33:57xxmlinkissue42652 messages
2020-12-17 16:33:57xxmcreate