[Python-3000] Futures in Python 3000
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Apr 20 09:59:43 CEST 2006
Andy Sy wrote:
> Does this mean that Py3K intends to reuse major portions of
> Python 2.x's implementation?
I expect that almost all of it will be reused.
The difficulty with improving on the current generator
model is that the only way to do any better is to use
full coroutines. That means either using threads (which
you can do now if you want), or turning the whole
implementation inside-out in the manner of the original
Stackless, which would break all existing C extensions
and force writers of future extensions to use a very
convoluted API.
If there were any easy way to improve generators, it
would already have been done by now.
--
Greg
More information about the Python-3000
mailing list