Generators versus Coroutines
mwh at python.net
Thu Aug 19 15:34:49 CEST 2004
Nick Patavalis <npat at efault.net> writes:
> What!?! CPython uses the *C-stack* !!?!?! Is there a reason for this?
It's easy enough to make Python calling Python not use the C stack.
For all the zillion ways you can go Python -> some C -> Python, well,
that's not so easy. One of the Python implementations advantages is
it's relative transparency.
> I wouldn't want to live without readline, but some of the
> things it does call for the application of thumbscrews.
-- me on python-dev
More information about the Python-list