News for hackers. Stuff that matters.
Re:Reasons for Python async/await by drothlis on Thursday May 21, 2015 @06:56AM (#9581884)
A major motivation for the new syntax is to support refactoring (currently moving "yield" into a sub-function makes the calling function no longer a generator).

See the PEP's "rationale and goals"[1] and this article[2] summarising the PEP.

[1] https://www.python.org/dev/peps/pep-0492/#rationale-and-goal... [2] https://lwn.net/Articles/643786/

There are no comments on this comment yet.