| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | merge 3.5 | Benjamin Peterson | 2015-07-01 | 1 | -1/+1 |
| |\ | |||||
| | * | Merge 3.4 | Benjamin Peterson | 2015-07-01 | 1 | -1/+1 |
| | |\ | |||||
| | | * | remove stray '(' (closes #24547) | Benjamin Peterson | 2015-07-01 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge 3.5 | Yury Selivanov | 2015-07-01 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | docs/conf: Undo changes in b2a3baa1c2b0; issue #24400 | Yury Selivanov | 2015-07-01 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge 3.5 (issue #24400) | Yury Selivanov | 2015-07-01 | 2 | -1/+13 |
| |\ \ \ | |/ / | |||||
| | * | | Issue #24400: Mention that __instancecheck__ is used in abc.Awaitable and ↵ | Yury Selivanov | 2015-07-01 | 2 | -1/+13 |
| | | | | | | | | | | | | | Coroutine | ||||
| * | | | Merge 3.5 (Issue #24487) | Yury Selivanov | 2015-06-30 | 4 | -13/+13 |
| |\ \ \ | |/ / | |||||
| | * | | Issue #24487: Rename async() -> ensure_future() in asyncio docs. | Yury Selivanov | 2015-06-30 | 4 | -13/+13 |
| | | | | | | | | | | | | | Patch by Martin Panter. | ||||
| * | | | Merge 3.5 | Yury Selivanov | 2015-06-30 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | Issue #24541: Drop test_inspect.test_eightteen unittest; update docs | Yury Selivanov | 2015-06-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | Suggested by Martin Panter. | ||||
| * | | | Merge 3.5 (Issue #24400) | Yury Selivanov | 2015-06-30 | 2 | -13/+2 |
| |\ \ \ | |/ / | |||||
| | * | | Issue #24400: Remove inspect.isawaitable(). | Yury Selivanov | 2015-06-30 | 2 | -13/+2 |
| | | | | | | | | | | | | | | | | | | | isawaitable() was added before collections.abc.Awaitable; now, with Awaitable, it is no longer needed (we don't have ishashable() or isiterable() methods in the inspect module either). | ||||
| * | | | merge 3.5 | Benjamin Peterson | 2015-06-27 | 4 | -7/+14 |
| |\ \ \ | |/ / | |||||
| | * | | upgrade to Unicode 8.0.0 | Benjamin Peterson | 2015-06-27 | 4 | -7/+14 |
| | | | | |||||
| * | | | Issue #23684: Clarify the return value of the scheme attribute of ↵ | Berker Peksag | 2015-06-25 | 1 | -7/+9 |
| |\ \ \ | |/ / | | | | | | | | | | | | | ParseResult and SplitResult objects. Patch by Martin Panter. | ||||
| | * | | Issue #23684: Clarify the return value of the scheme attribute of ↵ | Berker Peksag | 2015-06-25 | 1 | -7/+9 |
| | |\ \ | | |/ | | | | | | | | | | | | | ParseResult and SplitResult objects. Patch by Martin Panter. | ||||
| | | * | Issue #23684: Clarify the return value of the scheme attribute of ↵ | Berker Peksag | 2015-06-25 | 1 | -7/+9 |
| | | | | | | | | | | | | | | | | | | | ParseResult and SplitResult objects. Patch by Martin Panter. | ||||
| * | | | Merge 3.5 (issue #24509) | Yury Selivanov | 2015-06-25 | 1 | -3/+9 |
| |\ \ \ | |/ / | |||||
| | * | | Merge 3.4 (issue #24509) | Yury Selivanov | 2015-06-25 | 1 | -3/+9 |
| | |\ \ | | |/ | |||||
| | | * | Issue #24509: Clarify Handle.cancel() and loop.call_* methods. | Yury Selivanov | 2015-06-25 | 1 | -3/+9 |
| | | | | |||||
| * | | | Merge 3.5 | Yury Selivanov | 2015-06-25 | 1 | -2/+2 |
| |\ \ \ | |/ / | |||||
| | * | | Merge 3.4 | Yury Selivanov | 2015-06-25 | 1 | -2/+2 |
| | |\ \ | | |/ | |||||
| | | * | asyncio.docs: Use less confusing title | Yury Selivanov | 2015-06-25 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge 3.5 (Issue #24439) | Yury Selivanov | 2015-06-25 | 1 | -0/+0 |
| |\ \ \ | |/ / | |||||
| | * | | Issue #24439: Update tulip_coro.dia | Yury Selivanov | 2015-06-25 | 1 | -0/+0 |
| | | | | |||||
| * | | | Merge 3.5 (issue #24439) | Yury Selivanov | 2015-06-24 | 11 | -85/+179 |
| |\ \ \ | |/ / | |||||
| | * | | Issue #24439: Improve PEP 492 related docs. | Yury Selivanov | 2015-06-24 | 11 | -85/+179 |
| | | | | | | | | | | | | | Patch by Martin Panter. | ||||
| * | | | Merge 3.5 | Yury Selivanov | 2015-06-23 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | docs.whatsnew: Update ref to tp_as_async | Yury Selivanov | 2015-06-23 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge 3.5 | Yury Selivanov | 2015-06-23 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | docs.capi: Fix tp_as_async doc | Yury Selivanov | 2015-06-23 | 1 | -1/+1 |
| | | | | |||||
| * | | | Issue #24400: Merge 3.5 | Yury Selivanov | 2015-06-22 | 11 | -40/+156 |
| |\ \ \ | |/ / | |||||
| | * | | Issue #24400: Introduce a distinct type for 'async def' coroutines. | Yury Selivanov | 2015-06-22 | 11 | -40/+156 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of changes: 1. Coroutines now have a distinct, separate from generators type at the C level: PyGen_Type, and a new typedef PyCoroObject. PyCoroObject shares the initial segment of struct layout with PyGenObject, making it possible to reuse existing generators machinery. The new type is exposed as 'types.CoroutineType'. As a consequence of having a new type, CO_GENERATOR flag is no longer applied to coroutines. 2. Having a separate type for coroutines made it possible to add an __await__ method to the type. Although it is not used by the interpreter (see details on that below), it makes coroutines naturally (without using __instancecheck__) conform to collections.abc.Coroutine and collections.abc.Awaitable ABCs. [The __instancecheck__ is still used for generator-based coroutines, as we don't want to add __await__ for generators.] 3. Add new opcode: GET_YIELD_FROM_ITER. The opcode is needed to allow passing native coroutines to the YIELD_FROM opcode. Before this change, 'yield from o' expression was compiled to: (o) GET_ITER LOAD_CONST YIELD_FROM Now, we use GET_YIELD_FROM_ITER instead of GET_ITER. The reason for adding a new opcode is that GET_ITER is used in some contexts (such as 'for .. in' loops) where passing a coroutine object is invalid. 4. Add two new introspection functions to the inspec module: getcoroutinestate(c) and getcoroutinelocals(c). 5. inspect.iscoroutine(o) is updated to test if 'o' is a native coroutine object. Before this commit it used abc.Coroutine, and it was requested to update inspect.isgenerator(o) to use abc.Generator; it was decided, however, that inspect functions should really be tailored for checking for native types. 6. sys.set_coroutine_wrapper(w) API is updated to work with only native coroutines. Since types.coroutine decorator supports any type of callables now, it would be confusing that it does not work for all types of coroutines. 7. Exceptions logic in generators C implementation was updated to raise clearer messages for coroutines: Before: TypeError("generator raised StopIteration") After: TypeError("coroutine raised StopIteration") | ||||
| * | | | Fixed documentation of functions with const char* arguments. | Serhiy Storchaka | 2015-06-21 | 10 | -19/+19 |
| |\ \ \ | |/ / | |||||
| | * | | Fixed documentation of functions with const char* arguments. | Serhiy Storchaka | 2015-06-21 | 10 | -19/+19 |
| | |\ \ | | |/ | |||||
| | | * | Fixed documentation of functions with const char* arguments. | Serhiy Storchaka | 2015-06-21 | 10 | -19/+19 |
| | | | | |||||
| * | | | Added the const qualifier for char* argument of Py_EnterRecursiveCall(). | Serhiy Storchaka | 2015-06-21 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | Added the const qualifier for char* argument of Py_EnterRecursiveCall(). | Serhiy Storchaka | 2015-06-21 | 1 | -1/+1 |
| | |\ \ | | |/ | |||||
| | | * | Added the const qualifier for char* argument of Py_EnterRecursiveCall(). | Serhiy Storchaka | 2015-06-21 | 1 | -1/+1 |
| | | | | |||||
| | | * | Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple ↵ | Senthil Kumaran | 2015-06-14 | 28 | -37/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation typos. Related Issues: #issue21528 #issue24453 | ||||
| | | * | Issue #24453: Fix doubled word. | Raymond Hettinger | 2015-06-14 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge with 3.5 | Terry Jan Reedy | 2015-06-12 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | Merge with 3.4 | Terry Jan Reedy | 2015-06-12 | 1 | -1/+1 |
| | |\ \ | | |/ | |||||
| | | * | whitespace | Terry Jan Reedy | 2015-06-12 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge with 3.5 | Terry Jan Reedy | 2015-06-12 | 1 | -0/+4 |
| |\ \ \ | |/ / | |||||
| | * | | Merge 3.4 | Terry Jan Reedy | 2015-06-12 | 1 | -0/+4 |
| | |\ \ | | |/ | |||||
| | | * | Issue #24406: Add sentences on dict comparisons, similar to those for Sequence | Terry Jan Reedy | 2015-06-12 | 1 | -0/+4 |
| | | | | | | | | | | | | | and set comparisions. Patch by Gareth Rees. | ||||
| * | | | Merge with 3.5 | Terry Jan Reedy | 2015-06-12 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | Merge with 3.4 | Terry Jan Reedy | 2015-06-12 | 1 | -1/+1 |
| | |\ \ | | |/ | |||||
