[Python-checkins] peps: Add transition plan.

guido.van.rossum python-checkins at python.org
Wed Nov 26 06:32:23 CET 2014


https://hg.python.org/peps/rev/427e505d1237
changeset:   5619:427e505d1237
user:        Guido van Rossum <guido at python.org>
date:        Tue Nov 25 21:32:14 2014 -0800
summary:
  Add transition plan.

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


diff --git a/pep-0479.txt b/pep-0479.txt
--- a/pep-0479.txt
+++ b/pep-0479.txt
@@ -264,6 +264,18 @@
 beyond that, all exceptions will propagate normally.
 
 
+Transition plan
+===============
+
+- Python 3.5: Enable new semantics under ``__future__`` import; silent
+  deprecation warning if ``StopIteration`` bubbles out of a generator
+  not under ``__future__`` import.
+
+- Python 3.6: non-silent deprecation warning.
+
+- Python 3.7: enable new semantics everywhere.
+
+
 Alternate proposals
 ===================
 

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


More information about the Python-checkins mailing list