Add transition plan.
This commit is contained in:
parent
412beeb4e3
commit
289b876442
12
pep-0479.txt
12
pep-0479.txt
|
@ -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
|
||||
===================
|
||||
|
||||
|
|
Loading…
Reference in New Issue