[Python-Dev] PEP 492: async/await in Python; version 4

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 30 11:16:11 CEST 2015


Yury Selivanov wrote:

> 3. CO_NATIVE_COROUTINE flag. This enables us to disable
> __iter__ and __next__ on native coroutines while maintaining
> full backwards compatibility.

I don't think you can honestly claim "full backwards
compatibility" as long as there are some combinations
of old-style and new-style code that won't work
together. You seem to be using your own personal
definition of "full" here.

-- 
Greg



More information about the Python-Dev mailing list