[Python-Dev] Preventing recursion core dumps (original) (raw)

Jack Jansen jack@oratrix.nl
Mon, 14 Aug 2000 11:44:39 +0200


Isn't the solution to this problem to just implement PyOS_CheckStack() for unix?

I assume you can implement it fairly cheaply by having the first call compute a stack warning address and subsequent calls simply checking that the stack hasn't extended below the limit yet.

It might also be needed to add a few more PyOS_CheckStack() calls here and there, but I think most of them are in place.

Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm