Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a typo in a comment in coroutines.py (GH-2267) | Johan de Jager | 2017-06-24 | 1 | -1/+1 |
| | | | defiend -> defined | ||||
* | Merge 3.5 (issue #28703) | Yury Selivanov | 2016-11-15 | 1 | -2/+14 |
|\ | |||||
| * | Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects. | Yury Selivanov | 2016-11-15 | 1 | -2/+14 |
| | | |||||
* | | Merge 3.5 (asyncio) | Yury Selivanov | 2016-11-09 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | asyncio: Fix _format_coroutine for coroutine-like objects w/o __name__ | Yury Selivanov | 2016-11-09 | 1 | -2/+6 |
| | | | | | | | | | | | | Some built-in coroutine-like objects might not have __name__ or __qualname__. A good example of such are 'asend', 'aclose' and 'athrow' coroutine methods of asynchronous generators. | ||||
* | | Issue #28544: Implement asyncio.Task in C. | Yury Selivanov | 2016-10-28 | 1 | -2/+2 |
|/ | | | | | | | | This implementation provides additional 10-20% speed boost for asyncio programs. The patch also fixes _asynciomodule.c to use Arguments Clinic, and makes '_schedule_callbacks' an overridable method (as it was in 3.5). | ||||
* | Issue #28372: Fix asyncio to support formatting of non-python coroutines | Yury Selivanov | 2016-10-05 | 1 | -0/+19 |
| | |||||
* | Misc asyncio improvements from upstream | Guido van Rossum | 2016-09-30 | 1 | -2/+2 |
| | |||||
* | Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__. | Yury Selivanov | 2016-09-15 | 1 | -1/+1 |
| | | | | Patch by iceboy. | ||||
* | Merge asyncio upstream. | Guido van Rossum | 2016-09-09 | 1 | -2/+2 |
| | |||||
* | asyncio: Fix @coroutine to recognize CoroWrapper (issue #25647) | Yury Selivanov | 2016-03-02 | 1 | -1/+2 |
| | | | | Patch by Vladimir Rutsky. | ||||
* | Sync with asyncio repo | Andrew Svetlov | 2016-01-11 | 1 | -7/+10 |
| | |||||
* | asyncio: Error if awaiting in parallel on the same coroutine | Yury Selivanov | 2015-11-18 | 1 | -1/+7 |
| | | | | | | This change won't do anything in CPython 3.4 See https://github.com/python/asyncio/pull/293 for details. | ||||
* | asyncio: Add asyncio.compat module | Victor Stinner | 2015-07-25 | 1 | -4/+2 |
| | | | | | Move compatibility helpers for the different Python versions to a new asyncio.compat module. | ||||
* | Issue #24450: Proxy gi_yieldfrom & cr_await in asyncio.CoroWrapper | Yury Selivanov | 2015-07-03 | 1 | -0/+8 |
| | |||||
* | 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 | 1 | -10/+40 |
| | |||||
* | asyncio: Merge changes from issue #24400. | Yury Selivanov | 2015-06-24 | 1 | -31/+17 |
| | |||||
* | Issue 24017: Fix asyncio.CoroWrapper to support 'async def' coroutines | Yury Selivanov | 2015-06-01 | 1 | -1/+1 |
| | |||||
* | Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator | Yury Selivanov | 2015-05-31 | 1 | -2/+13 |
| | |||||
* | asyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine (in 3.5) | Yury Selivanov | 2015-05-13 | 1 | -0/+8 |
| | |||||
* | asyncio: Support PEP 492. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -13/+64 |
| | |||||
* | Asyncio issue 222 / PR 231 (Victor Stinner) -- fix @coroutine functions ↵ | Guido van Rossum | 2015-05-03 | 1 | -6/+12 |
| | | | | without __name__. | ||||
* | asyncio: Truncate to 80 columns | Victor Stinner | 2015-01-08 | 1 | -4/+8 |
| | |||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-07-10 | 1 | -9/+3 |
| | | | | | | | - CoroWrapper.__del__() now reuses repr(CoroWrapper) to log the "... was never yielded from" warning - Improve CoroWrapper: copy also the qualified name on Python 3.4, not only on Python 3.5+ | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-07-10 | 1 | -6/+18 |
| | | | | | | | - repr(Task) and repr(CoroWrapper) now also includes where these objects were created. If the coroutine is not a generator (don't use "yield from"), use the location of the function, not the location of the coro() wrapper. - Fix create_task(): truncate the traceback to hide the call to create_task(). | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-07-07 | 1 | -2/+2 |
| | | | | | | | | - Tulip issue #181: Faster create_connection(). Call directly waiter.set_result() in the constructor of _ProactorBasePipeTransport and _SelectorSocketTransport, instead of using of delaying the call with call_soon(). - Cleanup iscoroutine() | ||||
* | Closes #21886, #21447: Fix a race condition in asyncio when setting the result | Victor Stinner | 2014-07-05 | 1 | -0/+6 |
| | | | | | of a Future with call_soon(). Add an helper, a private method, to set the result only if the future was not cancelled. | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-07-02 | 1 | -6/+8 |
| | | | | | | | | | | * _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode, not in read mode * Examples: close the event loop at exit * More reliable CoroWrapper.__del__. If the constructor is interrupted by KeyboardInterrupt or the coroutine objet is destroyed lately, some the _source_traceback attribute doesn't exist anymore. * repr(Task): include also the future the task is waiting for | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-06-30 | 1 | -8/+49 |
| | | | | | | | | | | | - Sort imports - Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it with isinstance(obj, types.GeneratorType) - CoroWrapper: check at runtime if Python has the yield-from bug #21209. If Python has the bug, check if CoroWrapper.send() was called by yield-from to decide if parameters must be unpacked or not. - Fix "Task was destroyed but it is pending!" warning in test_task_source_traceback() | ||||
* | asyncio: sync with Tulip, add a new asyncio.coroutines module | Victor Stinner | 2014-06-28 | 1 | -0/+140 |