This question is more about curiosity than utility. If I write a function that should run forever, such as a daemon, how would Python deal with it if I called the function again from the end of the function?
def daemonLoop():
I am sure that doing this in C will lead to a stack overflow, but given the level of abstraction from C to Python. I assume that the material is handled differently.
Could I go to hell for this?
c python recursion infinite-loop
Hubro
source share