Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | 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 #24325 & #24400) | Yury Selivanov | 2015-06-24 | 2 | -13/+31 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Issue #24400, #24325: More tests for types._GeneratorWrapper | Yury Selivanov | 2015-06-24 | 2 | -13/+31 | |
| | | | | | | | | | | | | | | | | | | | | Also, make 'wrapped' and 'isgen' private. | |||||
* | | | | | Merge 3.5 (Issue #24325, #24400) | Yury Selivanov | 2015-06-24 | 3 | -62/+228 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Issue #24325, #24400: Add more unittests for types.coroutine; tweak wrapper ↵ | Yury Selivanov | 2015-06-24 | 3 | -62/+228 | |
| | | | | | | | | | | | | | | | | | | | | implementation. | |||||
* | | | | | Merge 3.5 (issue #24439) | Yury Selivanov | 2015-06-24 | 12 | -90/+184 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Issue #24439: Improve PEP 492 related docs. | Yury Selivanov | 2015-06-24 | 12 | -90/+184 | |
| | | | | | | | | | | | | | | | | | | | | Patch by Martin Panter. | |||||
* | | | | | Merge 3.5 | Yury Selivanov | 2015-06-24 | 1 | -0/+7 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Issue #24495, #24400: Test asyncio.Task.repr in debug mode | Yury Selivanov | 2015-06-24 | 1 | -0/+7 | |
| | | | | | ||||||
* | | | | | Fix asyncio unittests in debug mode (Merge 3.5) | Yury Selivanov | 2015-06-24 | 2 | -1/+3 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Fix asyncio unittests in debug mode | Yury Selivanov | 2015-06-24 | 2 | -1/+3 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | Fix asyncio unittests in debug mode | Yury Selivanov | 2015-06-24 | 1 | -0/+2 | |
| | | | | | ||||||
* | | | | | Issue #24400: Fix CoroWrapper for 'async def' coroutines | Yury Selivanov | 2015-06-24 | 3 | -12/+66 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Issue #24400: Fix CoroWrapper for 'async def' coroutines | Yury Selivanov | 2015-06-24 | 3 | -12/+66 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | Issue #24400: Fix CoroWrapper for 'async def' coroutines | Yury Selivanov | 2015-06-24 | 2 | -11/+42 | |
| | | | | | ||||||
* | | | | | Merge 3.5 | Yury Selivanov | 2015-06-24 | 0 | -0/+0 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Merge 3.4 | Yury Selivanov | 2015-06-24 | 0 | -0/+0 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | asyncio: Merge changes from issue #24400. | Yury Selivanov | 2015-06-24 | 1 | -31/+17 | |
| | | | | | ||||||
* | | | | | Minor code cleanup. | Raymond Hettinger | 2015-06-24 | 1 | -3/+5 | |
| | | | | | ||||||
* | | | | | Closes #24244: Removes invalid test from test_time | Steve Dower | 2015-06-24 | 1 | -7/+0 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Closes #24244: Removes invalid test from test_time | Steve Dower | 2015-06-24 | 1 | -7/+0 | |
| | | | | | ||||||
* | | | | | 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 #24489: ensure a previously set C errno doesn't disturb cmath.polar(). | Antoine Pitrou | 2015-06-23 | 4 | -11/+58 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). | Antoine Pitrou | 2015-06-23 | 4 | -11/+58 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). | Antoine Pitrou | 2015-06-23 | 4 | -11/+58 | |
| | | | | | ||||||
* | | | | | Issue #24400: Merge 3.5 | Yury Selivanov | 2015-06-22 | 29 | -379/+1015 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Issue #24400: Introduce a distinct type for 'async def' coroutines. | Yury Selivanov | 2015-06-22 | 29 | -379/+1015 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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") | |||||
* | | | | | Harmonize the bottom of the outer loop with its entry point | Raymond Hettinger | 2015-06-21 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | giving a small simplification. Timings show that hash pre-check seems only benefit the inner-loop (the linear probes). | |||||
* | | | | | 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 | 3 | -3/+3 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Added the const qualifier for char* argument of Py_EnterRecursiveCall(). | Serhiy Storchaka | 2015-06-21 | 3 | -3/+3 | |
| |\ \ \ \ | | |/ / / | ||||||
| | * | | | Added the const qualifier for char* argument of Py_EnterRecursiveCall(). | Serhiy Storchaka | 2015-06-21 | 3 | -3/+3 | |
| | | | | | ||||||
* | | | | | Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. | Serhiy Storchaka | 2015-06-21 | 2 | -2/+2 | |
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | Patch by Michael Ensslin. | |||||
| * | | | | Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. | Serhiy Storchaka | 2015-06-21 | 2 | -2/+2 | |
| |\ \ \ \ | | |/ / / | | | | | | | | | | | Patch by Michael Ensslin. | |||||
| | * | | | Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. | Serhiy Storchaka | 2015-06-21 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | Patch by Michael Ensslin. | |||||
* | | | | | Issue #24408: Fixed test for tkinter.Font on OS X. | Serhiy Storchaka | 2015-06-21 | 1 | -1/+10 | |
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | Based on patch by Martin Panter. | |||||
| * | | | | Issue #24408: Fixed test for tkinter.Font on OS X. | Serhiy Storchaka | 2015-06-21 | 1 | -1/+10 | |
| |\ \ \ \ | | |/ / / | | | | | | | | | | | Based on patch by Martin Panter. | |||||
| | * | | | Issue #24408: Fixed test for tkinter.Font on OS X. | Serhiy Storchaka | 2015-06-21 | 1 | -1/+10 | |
| | | |/ | | |/| | | | | | | | | | Based on patch by Martin Panter. | |||||
* | | | | Issue #24426: Fast searching optimization in regular expressions now works | Serhiy Storchaka | 2015-06-21 | 4 | -78/+99 | |
| | | | | | | | | | | | | | | | | | | | | for patterns that starts with capturing groups. Fast searching optimization now can't be disabled at compile time. | |||||
* | | | | Restore quick exit (no freeslot check) for common case (found null on first ↵ | Raymond Hettinger | 2015-06-21 | 1 | -1/+11 | |
| | | | | | | | | | | | | | | | | probe). | |||||
* | | | | Issue 24476: Statically links vcruntime140.dll and removes it from the installer | Steve Dower | 2015-06-19 | 10 | -148/+7 | |
|\ \ \ \ | |/ / / |