Reminder: PEP 479's __future__ about to become the default behavior

This is according to https://www.python.org/dev/peps/pep-0479/#transition-plan https://www.python.org/dev/peps/pep-0479/#transition-plan but looking at Objects/genobject.c that hasn't been implemented yet. Is this as simple as removing the `else` clause here?
https://github.com/python/cpython/blob/master/Objects/genobject.c#L277-L298 https://github.com/python/cpython/blob/master/Objects/genobject.c#L277-L298
- Ł

Thanks for the reminder! I don't know if it's that simple -- did you grep for occurrences of that flag (CO_FUTURE_GENERATOR_STOP)? And I suppose there are tests for both sides that need to be adjusted?
On Tue, Nov 7, 2017 at 5:17 PM, Lukasz Langa lukasz@langa.pl wrote:
This is according to https://www.python.org/dev/ peps/pep-0479/#transition-plan but looking at Objects/genobject.c that hasn't been implemented yet. Is this as simple as removing the `else` clause here?
https://github.com/python/cpython/blob/master/Objects/ genobject.c#L277-L298
- Ł
participants (2)
-
Guido van Rossum
-
Lukasz Langa