[Python-Dev] _tkinter problem with Stackless

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 28 May 2002 13:23:53 +1200 (NZST)


Christian Tismer <tismer@tismer.com>:

> By setting the slicing recursion interval to above 20,
> the Tcl stuff works.
> Maybe I'm just fine by patching _tkinter a little bit,
> so that it influences stack slicing in a healthy way?

No, I don't think you're fine at all. You might just
happen to avoid the problem in this particular case,
but the basic flaw is still there, waiting to trip
up someone else running some other C extension.

Have you run any of this on a Sparc? I can see the
register window spillage mechanism getting royally
screwed by having the stack chopped up.

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