[Python-ideas] New PEP 550: Execution Context
yselivanov.ml at gmail.com
Mon Aug 14 15:25:43 EDT 2017
Nick, you nailed it with your example.
In short: current PEP 550 defines Execution Context in such a way,
that generators and iterators will interact differently with it. That
means that it won't be possible to refactor an iterator class to a
generator and that's not acceptable.
I'll be rewriting the whole specification section of the PEP today.
More information about the Python-ideas