2 ms·
> Yes! I really hope this use of yield will bubble up to the language spec and become pervasive in Python. And the time machine spaketh: http://www.python.org/
by masklinn 13y ago
> Yes! I really hope this use of yield will bubble up to the language spec and become pervasive in Python.
And the time machine spaketh: http://www.python.org/dev/peps/pep-3156/#coroutines-and-the-scheduler http://www.python.org/dev/peps/pep-3156/#coroutines-and-the-...
(it has no reason to "bubble up to the language spec", the language provides all the right primitives — especially with Python 3's `yield from`, it's up to the libraries to use them. That is a Good Thing.)
- ak217 13y agoGood point. Bubble up to the standard library, then.