Skip to content

Recursion depth checker doesn't work in tracer.c #9

@nedbat

Description

@nedbat

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.


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions