[issue42652] recursive in finally clause cause Python interpreter crash.

2020-12-22 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> crash with unbounded recursion in except statement ___ Python tracker

[issue42652] recursive in finally clause cause Python interpreter crash.

2020-12-22 Thread Xinmeng Xia
Xinmeng Xia added the comment: Thanks for fixing this, looking forward to the new version. Could you please kindly change the resolution into fixed and close this report? -- ___ Python tracker

[issue42652] recursive in finally clause cause Python interpreter crash.

2020-12-17 Thread Steve Stagg
Steve Stagg added the comment: This was also fixed by bpo-42500, in commit 4e7a69bdb6 === user@obsidian ~/t/f/cpython ((93a0ef76…))> git checkout 4e7a69bd^ HEAD is now at 93a0ef7647 Correct return type in Modules/_ssl.c::sslmodule_legacy (GH-23609) + make distclean + CFLAGS=-O0 + ./configure

[issue42652] recursive in finally clause cause Python interpreter crash.

2020-12-17 Thread Xinmeng Xia
Xinmeng Xia added the comment: 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,

[issue42652] recursive in finally clause cause Python interpreter crash.

2020-12-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: This might be related to #42500 -- nosy: +ronaldoussoren ___ Python tracker ___ ___

[issue42652] recursive in finally clause cause Python interpreter crash.

2020-12-16 Thread Xinmeng Xia
New submission from Xinmeng Xia : Considering the following two program,running the program 1 will get expected output: RecursionError program 1 === import traceback def foo(): try: 1/0 except Exception as e: