Is there any reason why python interpretor will automatically restart when a recursive function is called? I\'m programming a quick sort algorithm, and trying to sort a an l
The most likely you got this message in IDLE. In IDLE, the "===RESTART===" is simply IDLE flushing its memory of the previous code.
UPDATE
If you entered IDLE by right-clicking on a program and choosing "Edit with IDLE," then these ====RESTART==== messages do not appear; IDLE is running in a slightly different mode. But everything still works.
Read here more about IDLE