[Python-checkins] peps: PEP 492: Note API changes due to beta feedback

nick.coghlan python-checkins at python.org
Sat Jun 27 03:37:44 CEST 2015


https://hg.python.org/peps/rev/0c963fa25db8
changeset:   5899:0c963fa25db8
user:        Nick Coghlan <ncoghlan at gmail.com>
date:        Sat Jun 27 11:37:37 2015 +1000
summary:
  PEP 492: Note API changes due to beta feedback

files:
  pep-0492.txt |  17 +++++++++++++++++
  1 files changed, 17 insertions(+), 0 deletions(-)


diff --git a/pep-0492.txt b/pep-0492.txt
--- a/pep-0492.txt
+++ b/pep-0492.txt
@@ -40,6 +40,20 @@
 adopt, similar features: [2]_, [5]_, [6]_, [7]_, [8]_, [10]_.
 
 
+API Design and Implementation Note
+==================================
+
+Feedback on the initial beta release of Python 3.5 resulted in a redesign
+of the object model supporting this PEP to more clearly separate native
+coroutines from generators - rather than being a new kind of generator,
+native coroutines are now their own completely distinct type (implemented
+in [17]_).
+
+This change was implemented based primarily due to problems encountered
+attempting to integrate support for native coroutines into the Tornado web
+server (reported in [18]_).
+
+
 Rationale and Goals
 ===================
 
@@ -1451,6 +1465,9 @@
 
 .. [16] https://github.com/python/asyncio/issues/233
 
+.. [17] https://hg.python.org/cpython/rev/7a0a1a4ac639
+
+.. [18] http://bugs.python.org/issue24400
 
 Acknowledgments
 ===============

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


More information about the Python-checkins mailing list