Author brett.cannon
Recipients brett.cannon, ezio.melotti, ncoghlan, rhettinger, stutzbach, terry.reedy, yselivanov
Date 2015-12-29.18:45:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451414713.38.0.489451050869.issue25637@psf.upfronthosting.co.za>
In-reply-to
Content
I brought this topic up on python-ideas and both Nick Coghlan and MA Lemburg suggested the abc module like Yury did. So the proposal becomes to put syntax-related ABCs into the abc module and domain-specific ones in their respective stdlib modules.

Nick suggested the following ABCs get pulled out of collections.abc and put into the abc module:

    Callable - function calls
    Iterable - for loops, comprehensions
    Iterator - for loops, comprehensions
    Generator - generators, generator expressions
    Awaitable - await expressions
    Coroutine - async def
    AsyncIterable - async for
    AsyncIterator  - async for
History
Date User Action Args
2015-12-29 18:45:13brett.cannonsetrecipients: + brett.cannon, rhettinger, terry.reedy, ncoghlan, stutzbach, ezio.melotti, yselivanov
2015-12-29 18:45:13brett.cannonsetmessageid: <1451414713.38.0.489451050869.issue25637@psf.upfronthosting.co.za>
2015-12-29 18:45:13brett.cannonlinkissue25637 messages
2015-12-29 18:45:12brett.cannoncreate