[issue42500] status() crashes on Python3.9 and 3.10

2020-11-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: The crash is not nice, but The script contains the following line in the definition of status(): except status() as e: That will cause unbounded recursion when os.fstat raises an exception, which likely happens here. You probably want to catch OSEr

[issue42500] status() crashes on Python3.9 and 3.10

2020-11-28 Thread Xinmeng Xia
New submission from Xinmeng Xia : This program can work well on Python 3.5.2 and Python2.7 with the following output. "Invalid Entry, try again" However it will crash on Python3.9.0rc1, 3.10.0a2 with the following error message: " Fatal Python error: _Py_CheckRecursiveCall: Cannot recover fr