[Python-ideas] Coroutines and PEP 380
nathan.alexander.rice at gmail.com
Wed Jan 25 15:39:01 CET 2012
On Wed, Jan 25, 2012 at 3:45 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> (redirecting to python-ideas - coroutine proposals are nowhere near
> mature enough for python-dev)
> On Wed, Jan 25, 2012 at 5:35 PM, Matt Joiner <anacrolix at gmail.com> wrote:
>> If someone can explain what's stopping real coroutines being into
>> Python (3.3), that would be great.
> The general issues with that kind of idea:
> - the author hasn't offered the code for inclusion and relicensing
> under the PSF license (thus we legally aren't allowed to do it)
> - complexity
> - maintainability
> - platform support
> In the specific case of coroutines, you have the additional hurdle of
> convincing people whether or not they're a good idea at all.
I think coroutines can be immensely useful. I am using continulets in
PyPy to implement the flow control for symbolic expression capture,
and it is by far the least complex method I have examined. I can't
think of any other examples where I've really felt blocked by a
standard stack though.
More information about the Python-ideas