problem with an infinite loop

Thomas Heller thomas.heller at ion-tof.com
Fri Dec 17 05:21:19 EST 1999


[python crashes on windows for infinite recursive calls]
> interpreter isn't a good thing.  Perhaps it would be possible to
> special-case this, or, more generally, impose some sort of
> recursion limit in the interpreter's C code on those platforms
> (such as NT) where erroneous unbounded recursion might
> otherwise produce a crash.
> 
Python includes code to check for infinite recursion, but
unfortunately on windows crashes before the limit is reached.
This has been discussed some time ago. This was the thread:

http://www.deja.com/[LBURL=_LBHT,LBT,ST_rn=ps]/threadmsg_ct.xp?AN=484471678

Christian Tismer posted a script which patches the python15.dll
binary (no recompiling needed)

http://www.deja.com/[LBURL=_LBHT,LBT,ST_rn=ap]/threadmsg_ct.xp?AN=484809938

> 
> Alex

Thomas





More information about the Python-list mailing list