C callbacks ? Re: Is Stackless Python DEAD?
Donn Cave
donn at u.washington.edu
Tue Nov 6 14:47:42 EST 2001
Quoth Gordon McMillan <gmcm at hypernet.com>:
| Frederic Giacometti wrote:
...
|> I see maintaining hybrid behavior (iterative / recursive calls to the
|> interpreter, and 'recursion tolerance') as a requirement...
|
| True. And Stackless (as a 3rd party product) can get away with saying
| "Oops, I can't do that". The bar is higher for a core language feature,
| though. Which is a shame, because this turns out to be more of a
| theoretical problem than a real one.
I had no trouble with Python -> C -> Python, done in the normal
way with PyEval_CallObject() with Stackless 2.0, and even invoked
continuations from previous calls. I don't know if that's inconsistent
with what you're saying, or not - maybe I was just lucky!
Donn Cave, donn at u.washington.edu
More information about the Python-list
mailing list