Mariatta
cf3bad5ab3
Revert "Rename all .txt PEP files to .rst (GH-462)" (GH-464)
...
This reverts commit bb0e518ed3
.
2017-11-11 11:28:55 -08:00
Huang Huang
bb0e518ed3
Rename all .txt PEP files to .rst (GH-462)
...
For https://github.com/python/peps/issues/1
2017-11-11 10:30:43 -08:00
Berker Peksag
cd78f23196
PEP 492: Remove redundant 'exc = True' line
2017-11-10 01:19:58 +03:00
Yury Selivanov
39b84d15f5
pep492: Clarify that only native coroutines can emit ResourceWarning on GC
2016-11-08 12:20:03 -05:00
Luke Deen Taylor
e6f594d151
Fix typo in PEP 492
...
`noting` -> `nothing`
2016-06-28 15:30:38 -04:00
Yury Selivanov
6194bb3ef7
PEP 492: Add a link to Python docs about __aiter__
2016-06-09 18:05:13 -04:00
Yury Selivanov
e6f60d8dce
PEP 492: Update __aiter__ protocol
2016-06-09 17:57:41 -04:00
Andrew Svetlov
9cc180f135
Fix typo
2015-10-09 20:10:51 +03:00
Yury Selivanov
901365a362
Update email address for Yury Selivanov
2015-09-12 17:55:15 -04:00
Yury Selivanov
eaf9ea6841
pep-492: Fix example code
2015-08-18 10:21:19 -04:00
Yury Selivanov
364723a503
pep-0492: Sync the PEP with the latest state of things in CPython
2015-07-23 01:19:31 +03:00
Yury Selivanov
0fb4b551a7
pep-492: Update benchmark code
...
Since coroutines now have a distinct type, they do not support
iteration. Instead of doing 'list(o)', we now do 'o.send(None)'
until StopIteration.
Note, that the updated timings are due to the difference of
doing a loop in Python vs doing it in C ('list()' vs 'while True').
2015-07-18 09:37:02 +03:00
Yury Selivanov
f0951bcf36
pep-0492: inspect.isawaitable is dead, long live abc.Awaitable.
2015-06-30 18:30:43 -04:00
Nick Coghlan
f6830b511b
PEP 492: Note API changes due to beta feedback
2015-06-27 11:37:37 +10:00
Yury Selivanov
f03fd0ff7b
pep 492: Sync with the current implementation and new features.
2015-06-25 21:41:14 -04:00
Yury Selivanov
fe4e805109
pep-492: Fix markup of Glossary section; clarify abc.Coroutine
2015-06-03 00:16:19 -04:00
Yury Selivanov
a6e791b09e
pep-492: Use backticks
2015-06-03 00:12:00 -04:00
Yury Selivanov
7056d7f540
pep-492: Add a small example for types.coroutine
2015-06-03 00:08:28 -04:00
Yury Selivanov
6b69474c0a
pep-492: Update doc on set_coroutine_wrapper
2015-05-31 17:17:34 -04:00
Yury Selivanov
2caab858f1
pep-492: Few minor fixes.
2015-05-18 13:32:41 -04:00
Yury Selivanov
27e9469760
pep-492: Fix 'async with' equivalent code
2015-05-17 11:07:25 -04:00
Yury Selivanov
7f5989e99b
pep-492: Mention AsyncIterator and AsyncIterable ABCs.
2015-05-14 22:05:24 -04:00
Yury Selivanov
7396e82840
pep-0492: Add an empty line.
2015-05-13 18:46:07 -04:00
Yury Selivanov
a102d98921
pep-0492: Mention new ABC classes.
2015-05-13 18:44:41 -04:00
Yury Selivanov
dda4b60269
pep-0492: Fix differences from what was committed.
2015-05-11 23:47:11 -04:00
Yury Selivanov
cec5cff1c9
pep-0492: Add "Implementation" section.
2015-05-11 23:36:23 -04:00
Yury Selivanov
63afe34273
Update pep-0492 (status: final) & pep-0478.
2015-05-11 23:34:24 -04:00
Berker Peksag
45ba62bd5a
PEP 492: Sort headers
2015-05-06 04:51:00 +03:00
Yury Selivanov
a67ffe133b
pep-0492: Fix "unexpected indentation" error
2015-05-05 20:57:03 -04:00
Yury Selivanov
fd385fa647
pep-0492: Update Acknowledgments section.
2015-05-05 20:39:22 -04:00
Yury Selivanov
0a5d32a4f9
pep-0492: Mark the PEP as Accepted.
2015-05-05 20:23:31 -04:00
Yury Selivanov
939682f92c
pep-0492: Add a clarification on event loop requirement. By Jim J. Jewett.
2015-05-05 18:31:49 -04:00
Yury Selivanov
19e51828c6
pep-0492: Add Discussions-To header field
2015-05-05 12:43:13 -04:00
Yury Selivanov
40aacc6d06
pep-0492: Fix terminology around coroutine object
2015-05-05 12:41:20 -04:00
Yury Selivanov
b2658c3f8a
pep-0492: Update Post-History
2015-05-05 12:22:54 -04:00
Yury Selivanov
7c481b6e79
pep-0492: We always raise RuntimeWarning for non-awaited coroutines
2015-05-04 23:27:16 -04:00
Yury Selivanov
9d82c29bd8
pep-0492: Update Rationale section
2015-05-04 19:35:36 -04:00
Larry Hastings
ff91b78ea3
Fix minor spelling mistake in 492.
2015-05-04 16:32:37 -07:00
Yury Selivanov
dea50ecfc3
pep-0492: (set|get)_coroutine_wrapper() is now thread-specific
2015-05-04 19:19:52 -04:00
Yury Selivanov
25637395f8
pep-0492: Minor edits
2015-05-04 19:10:57 -04:00
Yury Selivanov
0ee58b260f
pep-0492: New Abstract section; thanks to Elvis Pranskevichus.
2015-05-04 17:52:20 -04:00
Yury Selivanov
384743cdef
pep-0492: Reword DocumentLS.async deprecation section
2015-05-01 02:35:06 -04:00
Yury Selivanov
6d2ded2b90
pep-0492: Rename ensure_task() -> ensure_future()
2015-05-01 02:09:09 -04:00
Yury Selivanov
7cf393e6a7
pep-0492: Add "async/await in CPython code base" section.
2015-04-30 21:21:44 -04:00
Yury Selivanov
718e47edfc
pep-0492: Drop __future__ from "Transition Period Shortcomings"
2015-04-29 23:25:46 -04:00
Yury Selivanov
c69cef2b6e
pep-0492: Rewrite "Why not a __future__ import" section; tx to Nick Coghlan.
2015-04-29 23:18:03 -04:00
Yury Selivanov
08ceef7eeb
pep-0492: Reword tokenization algorithm description.
2015-04-29 23:10:23 -04:00
Yury Selivanov
c28890fb42
pep-0492: v4.
2015-04-29 21:11:53 -04:00
Yury Selivanov
029a4f3cb4
pep-0492: Incorporate some feedback from Stephen J. Turnbull.
2015-04-29 18:18:11 -04:00
Yury Selivanov
32b06ca706
pep-0492: Add operator precedence table for await expression.
2015-04-29 18:07:18 -04:00