Commit Graph

85 Commits

Author SHA1 Message Date
Yury Selivanov 94b51bc711 pep-0492: Rename section 2015-04-27 23:05:58 -04:00
Yury Selivanov 9b10d0323d pep-0492: Fix markup 2015-04-27 23:02:31 -04:00
Yury Selivanov 3628483783 pep-0492: v3; tp_await, noiter, new await syntax, etc 2015-04-27 22:40:36 -04:00
Yury Selivanov f4baf032f3 pep-0492: TypeError if an object without __aiter__ is passed to async for 2015-04-23 16:48:07 -04:00
Yury Selivanov 3aee121333 pep-0492: It's a TypeError to pass non-awaitable to 'await' 2015-04-23 16:44:59 -04:00
Yury Selivanov 2889bc2597 pep-0492: Slightly imrpove example 2 of "async for" section 2015-04-23 16:27:42 -04:00
Yury Selivanov a5bb069021 pep-0492: Fix example in Debugging Features section 2015-04-23 16:25:30 -04:00
Yury Selivanov 4141a0644e pep-0492: Edits in PEP 3152 section 2015-04-23 16:22:57 -04:00
Yury Selivanov 235a1e7f01 pep-0492: Glossary: Future-like.__await__ must return an iterator 2015-04-23 15:59:16 -04:00
Yury Selivanov 587d39deab pep-0492: Fix wording 2015-04-23 15:55:46 -04:00
Yury Selivanov d070d014cf pep-0492: Fix a typo 2015-04-23 15:54:21 -04:00
Yury Selivanov 2feb4ad5c3 pep-0492: 'Why not reuse existing "for" and "with"...' section 2015-04-23 15:53:20 -04:00
Yury Selivanov 8935feb87c pep-0492: Add that it's a TypeError if __await__ returns non-iterator 2015-04-23 14:42:24 -04:00
Yury Selivanov 5dce7dd65f pep-0492: Why "async def" -- add a note about grammar. 2015-04-23 14:23:36 -04:00
Yury Selivanov d0d589154f pep-0492: Explain why "async def" and not "def async". 2015-04-23 14:20:41 -04:00
Yury Selivanov dd9c33c30d pep-0492: Update PEP 3152 section 2015-04-23 12:51:13 -04:00
Yury Selivanov 19f729770d pep-0492: Add flow_stmt to Grammar 2015-04-21 20:52:19 -04:00
Yury Selivanov cd946d1169 pep-0492: Bump post-history 2015-04-21 13:10:22 -04:00
Yury Selivanov f1e7988ea1 pep-0492: More info on __cocall__; Add a section about coroutine-generators 2015-04-21 13:07:02 -04:00
Yury Selivanov 79b50d7016 pep-0492: Add a Post-History header. 2015-04-20 20:27:34 -04:00
Yury Selivanov 6aa763c345 pep-0492: Trim lines at 72 2015-04-20 20:23:45 -04:00
Yury Selivanov c318669566 pep-0492: Renames; add sys.get_coroutine_wrapper()
Renames:

* types.async_def() -> types.coroutine()

* CO_ASYNC -> CO_COROUTINE

Add `sys.get_coroutine_wrapper()`
2015-04-20 19:25:08 -04:00
Yury Selivanov 14655ce8f5 pep-0492: More edits re PEP 3152. 2015-04-19 23:23:12 -04:00
Yury Selivanov 61a8636d0d pep-0492: Edits re PEP 3152. 2015-04-19 23:19:52 -04:00
Yury Selivanov ebbbbd4463 pep-0492: Mention PEP 3152. 2015-04-19 23:07:15 -04:00
Yury Selivanov 268a2226aa pep-0492: AsyncFuntionDef ast node; 100% backwards compatible 2015-04-19 14:15:49 -04:00
Yury Selivanov ad72ded22c pep-0492: async_def() works on generator-functions. 2015-04-18 13:31:56 -04:00
Yury Selivanov 0222b32b38 pep-0492: Fixes, edits. 2015-04-18 10:40:37 -04:00
Berker Peksag 86fce1264c Fix markup. 2015-04-18 03:09:31 +03:00
Yury Selivanov 08aaa86f8d pep-0492: Add a sub-section about Async Lambdas 2015-04-17 19:34:15 -04:00
Yury Selivanov 038b655e68 pep-0492: Fix explanation that async def are always coroutines 2015-04-17 18:06:30 -04:00
Yury Selivanov 7447d4fe83 pep-0492: Fix snippet with Grammar 2015-04-17 17:37:41 -04:00
Yury Selivanov cd5e0b4fc5 pep-0492: rename set_async_wrapper -> set_coroutine_wrapper 2015-04-17 17:14:47 -04:00
Yury Selivanov 118fa22b06 pep 492: Fix typos 2015-04-17 16:57:08 -04:00
Berker Peksag 7aa64dd15c Add PEP 492 by Yury Selivanov. 2015-04-17 23:43:55 +03:00