changeset: 5826:7ac132b24f1f user: Yury Selivanov date: Tue May 05 18:31:49 2015 -0400 files: pep-0492.txt description: pep-0492: Add a clarification on event loop requirement. By Jim J. Jewett. diff -r 2d17fc29dc93 -r 7ac132b24f1f pep-0492.txt --- a/pep-0492.txt Tue May 05 12:43:13 2015 -0400 +++ b/pep-0492.txt Tue May 05 18:31:49 2015 -0400 @@ -27,6 +27,14 @@ model of asynchronous programming in Python and make it as close to synchronous programming as possible. +This PEP assumes that the asynchronous tasks are scheduled and +coordinated by an Event Loop similar to that of stdlib module +``asyncio.events.AbstractEventLoop``. While the PEP is not tied to any +specific Event Loop implementation, it is relevant only to the kind of +coroutine that uses "yield" as a signal to the scheduler, indicating +that the coroutine will be waiting until an event (such as IO) is +completed. + We believe that the changes proposed here will help keep Python relevant and competitive in a quickly growing area of asynchronous programming, as many other languages have adopted, or are planning to