[Python-Dev] _tkinter problem with Stackless
Greg Ewing
greg@cosc.canterbury.ac.nz
Mon, 27 May 2002 17:37:23 +1200 (NZST)
> I might instead enforce the user to start a new
> "root", manually. This would then no more start
> automagically, but "by hand", on top of any stack
> stuff that I better should not touch.
>
> what would you suggest? -- ciao - chris
I don't understand enough about how your system works
or what exactly Tk is doing that stuffs it up to be
able to recommend anything.
Am I right in thinking that a problem can only
occur if a tasklet switch occurs between the time
the local variable is created and the time it's
used? If the same tasklet is running both times,
the stack should be back in it's right place.
So maybe some sort of restriction on when a switch
can occur would help? Not sure what sort, though.
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 +--------------------------------------+