[Python-Dev] PEP 492: async/await in Python; version 4 (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Thu Apr 30 18:03:03 CEST 2015
- Previous message (by thread): [Python-Dev] PEP 492: async/await in Python; version 4
- Next message (by thread): [Python-Dev] What's missing in PEP-484 (Type hints)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2015-04-30 5:16 AM, Greg Ewing wrote:
Yury Selivanov wrote:
3. CONATIVECOROUTINE 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.
Well, using next() and iter() on coroutines in asyncio code is something esoteric. I can't even imagine why you would want to do that.
Yury
- Previous message (by thread): [Python-Dev] PEP 492: async/await in Python; version 4
- Next message (by thread): [Python-Dev] What's missing in PEP-484 (Type hints)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]