Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
A minimal example:
# fib.pyimportsyssys.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 .