Yury Selivanov
63afe34273
Update pep-0492 (status: final) & pep-0478.
2015-05-11 23:34:24 -04:00
Yury Selivanov
b10d7c650e
pep-0475: Mark as Final.
2015-05-11 19:35:14 -04:00
Nick Coghlan
f2399fc422
Redistributor recommendations for PEP 476
2015-05-10 15:25:07 +10:00
Yury Selivanov
0a061a8694
Update pep-478.
2015-05-09 12:07:27 -04:00
Yury Selivanov
ff8f094454
Update pep-478 and pep-479.
2015-05-09 11:48:43 -04:00
Benjamin Peterson
62971a8dd0
2.7.10 dates
2015-05-08 12:39:35 -04:00
Berker Peksag
9891f4843b
PEP 489: Updates from Petr Viktorin.
...
Summary:
- PyModuleExport -> PyModuleDef (which brings us down to two slot types,
create & exec)
- Removed "singleton modules"
- Stated that PyModule_Create, PyState_FindModule, PyState_AddModule,
PyState_RemoveModule will not work on slots-based modules.
- Added a section on C-level callbacks
- Clarified that if PyModuleExport_* returns NULL, it's as if it wasn't
defined (i.e. falls back to PyInit)
- Added API functions: PyModule_FromDefAndSpec, PyModule_ExecDef
- Added PyModule_AddMethods and PyModule_AddDocstring helpers
- Added PyMODEXPORT_FUNC macro for x-platform declarations of the export
function
- Added summary of API changes
- Added example code for a backwards-compatible module
- Changed modules ported in the initial implementation to "array" and "xx*"
- Changed ImportErrors to SystemErrors in cases where the module is
badly written (and to mirror what PyInit does now)
- Several typo fixes and clarifications
2015-05-08 04:58:19 +03:00
Guido van Rossum
532c8f3c4c
Discuss issue #105 and a solution.
2015-05-07 08:22:27 -07: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
f67dee2882
pep-0478: Mention PEP 0492 in "Accepted PEPs"
2015-05-05 20:25:12 -04:00
Yury Selivanov
0a5d32a4f9
pep-0492: Mark the PEP as Accepted.
2015-05-05 20:23:31 -04:00
Benjamin Peterson
dc67a90c11
448 is done
2015-05-05 20:17:53 -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
Nick Coghlan
ef2437d422
PEP 476: improve guidance on opting out
2015-04-30 10:17:44 +10: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
Yury Selivanov
a09fa75d7d
pep-0492: Add another syntax example
2015-04-29 12:28:16 -04:00
Yury Selivanov
51329f953d
pep-0492: Add invalid syntax examples; fix typo.
2015-04-29 12:09:19 -04:00
Yury Selivanov
50587d4184
pep-0492: Add one more 'await' syntax example
2015-04-27 23:24:26 -04:00
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
Guido van Rossum
bca7838dae
Mark PEP 3152 (codef/cocall) as rejected.
2015-04-24 15:14:39 -07:00
Nick Coghlan
bd5cf23940
PEP 394: fix typo reported by Jan Pokorný
2015-04-24 17:04:39 +10: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