Monday, March 14, 2016

Maximum recursion depth

http://pythontips.com/2013/08/31/fixing-error-maximum-recursion-depth-reached/

This is interesting.

#1 I have yet to get this error, which I think means that I have not done enough recursion.

# 2 It seems like this is fixing the symptom instead of fixing the problem.

Like so many other things in Python, I will have to experiment with it.

Edit (3-18-2016):

I got this error for the first time today.

I put the name of a sub-class where the name of a class should go, thereby creating a recursion where none was intended.

No comments: