Message257204
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 |
|
Date |
User |
Action |
Args |
2015-12-29 18:45:13 | brett.cannon | set | recipients:
+ brett.cannon, rhettinger, terry.reedy, ncoghlan, stutzbach, ezio.melotti, yselivanov |
2015-12-29 18:45:13 | brett.cannon | set | messageid: <1451414713.38.0.489451050869.issue25637@psf.upfronthosting.co.za> |
2015-12-29 18:45:13 | brett.cannon | link | issue25637 messages |
2015-12-29 18:45:12 | brett.cannon | create | |
|