stackyFACTS
Technology

Python forcefully limits recursion depth to one thousand

HERE’S THE INTERESTING PART

Because the interpreter doesn't trust you to not blow up your own computer. If a Python function calls itself more than a thousand times, the system abruptly kills the program to prevent your sloppy loop from eating all the system memory.

Python forcefully limits recursion depth to one thousand
STACKY / Technology
One discovery leads to another.

Keep exploring facts in this topic.

Technology →
STACKY FOR IPHONE

A bigger world.
One discovery
at a time.

Keep discovering with Stacky. Interesting facts in an app that is always within reach.

Download on the App Store
ONE MORE DISCOVERY?

Keep exploring

All in this topic →
StackyMore discoveries in the app
Download on the App Store