Recursion depth checker doesn't work in tracer.c

Issue #9 resolved
Ned Batchelder
repo owner created an issue

From a comment on the coverage page:

It seems that the recursion limit statement does not work when executed in coverage 3.0, like in this sample code:

{{{

!python

import sys
sys.setrecursionlimit(2500)
def add1(number = 0):
number = number + 1
if(number < 2000):add1(number)
if name == 'main':
add1()
}}}

Thanks.

Comments (2)

  1. Log in to comment