[Python-checkins] peps: pep-0492: New Abstract section; thanks to Elvis Pranskevichus.

yury.selivanov python-checkins at python.org
Mon May 4 23:52:23 CEST 2015


https://hg.python.org/peps/rev/ee45e5e570cc
changeset:   5817:ee45e5e570cc
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Mon May 04 17:52:20 2015 -0400
summary:
  pep-0492: New Abstract section; thanks to Elvis Pranskevichus.

files:
  pep-0492.txt |  20 ++++++++++++++++----
  1 files changed, 16 insertions(+), 4 deletions(-)


diff --git a/pep-0492.txt b/pep-0492.txt
--- a/pep-0492.txt
+++ b/pep-0492.txt
@@ -14,10 +14,22 @@
 Abstract
 ========
 
-This PEP introduces new syntax for coroutines, asynchronous ``with``
-statements and ``for`` loops.  The main motivation behind this proposal
-is to streamline writing and maintaining asynchronous code, as well as
-to simplify previously hard to implement code patterns.
+The growth of Internet and general connectivity has triggered the
+proportionate need for responsive and scalable code.  This proposal
+aims to answer that need by making writing explicitly asynchronous,
+concurrent Python code easier and more Pythonic.
+
+It is proposed to make *coroutines* a proper standalone concept in
+Python, and introduce new supporting syntax.  The ultimate goal
+is to help establish a common, easily approachable, mental
+model of asynchronous programming in Python and make it as close to
+synchronous programming as possible.
+
+This PEP improves upon PEP 342, and, in a sense, supercedes it.  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
+adopt, similar features: [2]_, [5]_, [6]_, [7]_, [8]_, [10]_.
 
 
 Rationale and Goals

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list