if e.message == 'maximum recursion depth exceeded while calling a Python object':
    pass
Python possible to run while loop until RuntimeError: maximum recursion depth exceeded while calling a Python object