(original) (raw)


On Apr 24, 2015, at 10:03 AM, Guido van Rossum <guido@python.org> wrote:

6\. StopAsyncException

What if we required \`ait.\_\_anext\_\_()\` to return a future?

On top of my previous response, one more thing to consider is that this idea brings a builtin Future back to the proposal, which has already been rejected in the "No implicit wrapping in Futures” section of the PEP.

PEP 492 manages to solve all issues without introducing a built-in Future.

--
Best regards,
Łukasz Langa

WWW: http://lukasz.langa.pl/
Twitter: @llanga
IRC: ambv on #python-dev