[Zope-dev] Zope 2.7 running with Stackless 3.0

Michael Geary Mike at DeleteThis.Geary.com
Thu Aug 28 20:52:06 EDT 2003


Shane Hathaway wrote:
> For the uninitiated: Stackless lets a Python program break out of the
> rigid constraints of a simple stack.  It lets Python code manipulate its
> own execution.  It provides new solutions to problems like threading,
> debugging, network communication, etc.  It's a very interesting shift.
>
> BTW, here's one avenue you might pursue, Christian: Python IDEs.  When I
> wrote the debugger for Boa Constructor, I hit a big wall.  Since Python
> is a dynamic language, one would expect to be able to pause the
> execution of a function, change the function, and resume execution with
> new code--never skipping a beat.  But CPython makes this nearly
> impossible.  I imagine Stackless would provide an answer for this.  If
> it does, get in contact with ActiveState, Secret Labs, or the Wing IDE
> folks and tell them you can make their debugger twice as good as any
> other.  Just an idea.

Yes! This would be an outstanding benefit.

As much as like Python, I *really* miss the Edit and Continue feature from
Visual C++. It's truly liberating to be able to change my code right in the
midst of debugging it, with all its state preserved. I often write a
skeleton for a function, start it up, and then finish coding it while I'm
running it.

Even short of that, none of the Python debuggers I've tried support a Set
Next Statement command like Visual C++ does. That itself is mighty useful.
Maybe Stackless would make it possible to support this?

-Mike






More information about the Python-list mailing list