Python seems to allow more recursion depth than the actual limit defined (default 1000).
With the code :
import sys