Add transition plan.

This commit is contained in:
Guido van Rossum 2014-11-25 21:32:14 -08:00
parent 412beeb4e3
commit 289b876442
1 changed files with 12 additions and 0 deletions

View File

@ -264,6 +264,18 @@ inside a generator will be converted into ``RuntimeError``, but
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
===================