[Python-Dev] Is core dump always a bug? Advice requested (original) (raw)

Greg Ewing greg at cosc.canterbury.ac.nz
Wed May 12 22:15:35 EDT 2004


Jeremy Hylton <jeremy at alum.mit.edu>:

I think it would only need to check that any path through the loop has a no net effect on stack depth -- before branching back to the beginning of the loop, it must pop everything it pushed.

If the branching is sufficiently spaghettoid, it might have trouble identifying any coherent loops or paths.

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list