Bug report
A minimal example:
# fib.py importsyssys.setrecursionlimit(2000)
fromfunctoolsimportcache@cachedeffib(n):
ifn<1: return0ifn==1: return1returnfib(n-1) +fib(n-2)
print(fib(500))
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Edit: This (simpler) example is from @dimpase .
Linked PRs
Bug report
A minimal example:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Edit: This (simpler) example is from @dimpase .
Linked PRs