Commit Graph

6133 Commits

Author SHA1 Message Date
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
Victor Stinner c170883653 PEP 475: update the list of modified functions according to the implementation
Mention also the special case of socket.socket.connect().
2015-04-19 10:59:06 +02:00
Chris Angelico 6c32726275 Undefer PEP 3152 at PEP author's request 2015-04-19 17:52:35 +10: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 12260a062d Fix PEP generation error. 2015-04-18 09:44:19 +03: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
Guido van Rossum 4f41b1f9e3 New version of PEP 484 for review by python-dev. 2015-04-17 14:44:03 -07: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
Berker Peksag d7780468e2 PEP 489: Update from Petr. 2015-04-17 21:05:59 +03:00
Daniel Holth cb84322924 Add PEP 491 2015-04-17 10:21:24 -04:00
Berker Peksag 22807f72c3 PEP 489: Updates from Petr Viktorin. 2015-04-16 18:49:43 +03:00
Nick Coghlan 827fb2d6e7 PEP 440: Clarify admonitions are for releases, not local builds 2015-04-15 19:05:55 -04:00
Barry Warsaw 076d085a26 Add myself. 2015-04-14 16:35:03 -04:00
Brett Cannon dfdcec0f27 Fix syntax error 2015-04-14 12:38:41 -04:00
Brett Cannon 70d91dd192 Fix syntax error 2015-04-14 12:23:59 -04:00
Nick Coghlan 874d8d0ff0 Minor tweaks to PEP 432 2015-04-13 19:26:10 -04:00
Brett Cannon 6c3484e878 Mark PEP 488 as final 2015-04-13 14:25:34 -04:00
Zachary Ware c1bc6693ac Port pep2html.py to 2/3.
This is a fairly naive port, just ran 2to3 over it and then tweaked
enough to make both versions happy.
2015-04-12 22:27:02 -05:00
Guido van Rossum d7aefb884c Small edits; added Tuple[t, ...] and Callable[..., tr]. 2015-04-06 19:54:09 -07:00
Guido van Rossum f80066c3fb Describe an old but good rule for consistent return statements. 2015-04-06 18:07:10 -07:00
Nick Coghlan bab89a734b PEP 474: Document why *I* care about this PEP 2015-04-03 14:54:15 +10:00
Brett Cannon 53883a914a Link to implementation for PEP 488 2015-04-01 11:55:28 -04:00
Brett Cannon 18608c96cb Merge 2015-03-27 14:41:05 -04:00
Brett Cannon 8958f2df0d Fix PEP 488 to follow the proper meaning of the debug_override
argument for importlib.util.cache_from_source() (PEP originally had
the semantics reversed for True/False values).

The change does not change the outcome of the backwards-compatibility
section and thus is considered a minor change.
2015-03-27 14:40:51 -04:00
Victor Stinner 32ad4c5b64 PEP 490 2015-03-26 13:14:31 +01:00
Victor Stinner d1d9f7a914 PEP 490 2015-03-26 11:14:48 +01:00
Victor Stinner 0a0eae4b07 PEP 490: add issue 18408 2015-03-26 09:48:47 +01:00
Victor Stinner 022f78da88 New PEP 490: Chain exceptions at C level 2015-03-26 09:08:08 +01:00
Brett Cannon 083f942a52 Mark PEP 488 as accepted 2015-03-21 09:32:04 -04:00
Brett Cannon 2e8a7b2be4 PEP 488: be explicit about what bytecode file names will be 2015-03-20 18:59:44 -04:00
Brett Cannon 6bfaf334ff Update post-history for PEP 488 2015-03-20 14:31:24 -04:00
Brett Cannon dbc5ae8254 Merge 2015-03-20 14:28:14 -04:00
Brett Cannon 87b93b66b6 PEP 488: make the base case not change the bytecode file name 2015-03-20 14:27:56 -04:00
Guido van Rossum 2d90c47e44 Add section on PEP Development Process, with github links. 2015-03-20 10:26:19 -07:00
Guido van Rossum 908c2eb563 A new type hints draft. I've decided to publish more drafts.
Significant changes in this draft:
- Define stubs.
- Define `@overload`.
- Describe `cast()`.
- Fix description of `Any`.
- Describe `Callable[..., t]`.
- Explain why `List[t]` instead of `List<t>`.
- Add section on rejected alternatives.
- Various other edits for clarity.
2015-03-20 09:47:17 -07:00
Victor Stinner 5817306884 PEP 475: add another article to explain why close() is not retried on EINTR 2015-03-20 12:18:51 +01:00