Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36999: Add asyncio.Task.get_coro() (GH-13680) | Alex Grönholm | 2019-05-30 | 1 | -0/+6 |
| | | | https://bugs.python.org/issue36999 | ||||
* | bpo-36932: use proper deprecation-removed directive (GH-13349) | Matthias Bussonnier | 2019-05-21 | 1 | -15/+22 |
| | | | | | | | | .. And update some deprecation warnings with version numbers. https://bugs.python.org/issue36932 | ||||
* | Orthographical fix (GH-13418) | Boštjan Mejak | 2019-05-19 | 1 | -1/+1 |
| | | | Add a missing comma. | ||||
* | bpo-36921: Deprecate @coroutine for sake of async def (GH-13346) | Andrew Svetlov | 2019-05-16 | 1 | -3/+4 |
| | | | | | | The second attempt. Now deprecate `@coroutine` only, keep `yield from fut` as is. https://bugs.python.org/issue36921 | ||||
* | bpo-35579: Fix typo in in asyncio-task documentation (GH-11321) | Vaibhav Gupta | 2018-12-26 | 1 | -1/+1 |
| | | | | | | https://bugs.python.org/issue35579 https://bugs.python.org/issue35579 | ||||
* | Use f-strings in asyncio-task code examples (GH-10035) | Mariatta | 2018-10-24 | 1 | -6/+6 |
| | | | Replace str.format with f-strings in the code examples of asyncio-task documentation. | ||||
* | bpo-34476: Document that asyncio.sleep() always suspends. (#9643) | Hrvoje Nikšić | 2018-10-01 | 1 | -0/+3 |
| | |||||
* | bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611) | Yury Selivanov | 2018-09-27 | 1 | -2/+1 |
| | |||||
* | asyncio/docs: Replace Python 4.0 -> 3.10 (GH-9579) | Yury Selivanov | 2018-09-25 | 1 | -5/+5 |
| | |||||
* | bpo-34790: [docs] Passing coroutines to asyncio.wait() can be confusing. ↵ | Yury Selivanov | 2018-09-25 | 1 | -4/+36 |
| | | | | (GH-9543) | ||||
* | bpo-33649: Fix gather() docs; fix title; few other nits. (GH-9475) | Yury Selivanov | 2018-09-21 | 1 | -11/+15 |
| | |||||
* | bpo-33649: More improvements (GH-9439) | Yury Selivanov | 2018-09-20 | 1 | -43/+131 |
| | |||||
* | bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403) | Yury Selivanov | 2018-09-18 | 1 | -43/+124 |
| | | | Co-authored-by: Elvis Pranskevichus <elvis@magic.io> | ||||
* | bpo-33649: Fix markup; add another note that asyncio.run is 3.7+ (GH-9389) | Yury Selivanov | 2018-09-18 | 1 | -1/+2 |
| | |||||
* | Fix syntax error on Asyncio example in doc (GH-9387) | Miguel Ángel García | 2018-09-18 | 1 | -1/+1 |
| | | | The `gather` method requires to close the parenthesis, but it is being closed twice. | ||||
* | Change "set_after" reference to `say_after`. (GH-9384) | Danny Hermes | 2018-09-18 | 1 | -1/+1 |
| | |||||
* | bpo-33649: A copy-editing pass on asyncio documentation (GH-9376) | Elvis Pranskevichus | 2018-09-17 | 1 | -26/+26 |
| | |||||
* | bpo-33649: Add low-level APIs index. (GH-9364) | Yury Selivanov | 2018-09-17 | 1 | -2/+2 |
| | |||||
* | bpo-33649: Add high-level APIs cheat-sheet (GH-9319) | Yury Selivanov | 2018-09-14 | 1 | -1/+7 |
| | |||||
* | bpo-33649: Refresh Tasks and Futures pages (#9314) | Yury Selivanov | 2018-09-14 | 1 | -571/+474 |
| | | | | | | | | * bpo-33649: Refresh Tasks and Futures pages * Fixes * Fix markup | ||||
* | bpo-33649: First asyncio docs improvement pass (GH-9142) | Yury Selivanov | 2018-09-11 | 1 | -31/+11 |
| | | | | | | | | | | | | | Rewritten/updated sections: * Event Loop APIs * Transports & Protocols * Streams * Exceptions * Policies * Queues * Subprocesses * Platforms | ||||
* | bpo-34270: Make it possible to name asyncio tasks (GH-8547) | Alex Grönholm | 2018-08-08 | 1 | -3/+33 |
| | | | Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com> | ||||
* | Fix typo introduced in GH-7217 (#7230) | Elvis Pranskevichus | 2018-05-30 | 1 | -1/+1 |
| | |||||
* | bpo-23859: Document that asyncio.wait() does not cancel its futures (#7217) | Elvis Pranskevichus | 2018-05-29 | 1 | -0/+3 |
| | | | | Unlike `asyncio.wait_for()`, `asyncio.wait()` does not cancel the passed futures when a timeout accurs. | ||||
* | bpo-32751: Wait for task cancellation in asyncio.wait_for() (GH-7216) | Elvis Pranskevichus | 2018-05-29 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | Currently, asyncio.wait_for(fut), upon reaching the timeout deadline, cancels the future and returns immediately. This is problematic for when *fut* is a Task, because it will be left running for an arbitrary amount of time. This behavior is iself surprising and may lead to related bugs such as the one described in bpo-33638: condition = asyncio.Condition() async with condition: await asyncio.wait_for(condition.wait(), timeout=0.5) Currently, instead of raising a TimeoutError, the above code will fail with `RuntimeError: cannot wait on un-acquired lock`, because `__aexit__` is reached _before_ `condition.wait()` finishes its cancellation and re-acquires the condition lock. To resolve this, make `wait_for` await for the task cancellation. The tradeoff here is that the `timeout` promise may be broken if the task decides to handle its cancellation in a slow way. This represents a behavior change and should probably not be back-patched to 3.6 and earlier. | ||||
* | bpo-32684: Fix gather to propagate cancel of itself with return_exceptions ↵ | Yury Selivanov | 2018-05-29 | 1 | -0/+4 |
| | | | | (GH-7209) | ||||
* | bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174) | Yury Selivanov | 2018-05-28 | 1 | -2/+5 |
| | |||||
* | bpo-32436: Document PEP 567 changes to asyncio. (GH-7073) | Yury Selivanov | 2018-05-23 | 1 | -2/+17 |
| | |||||
* | bpo-32996: The bulk of What's New in Python 3.7 (GH-6978) | Elvis Pranskevichus | 2018-05-20 | 1 | -1/+1 |
| | |||||
* | asyncio/docs: Mark asyncio.run() as provisional in 3.7. (#6946) | Yury Selivanov | 2018-05-17 | 1 | -0/+2 |
| | |||||
* | Fix docs markup for asyncio current_task() and all_tasks() (#6089) | Andrew Svetlov | 2018-03-12 | 1 | -2/+2 |
| | |||||
* | Fix missing coroutine declaration in the asyncio documentation. (#5964) | Joongi Kim | 2018-03-03 | 1 | -1/+1 |
| | |||||
* | bpo-32415: Add asyncio.Task.get_loop() and Future.get_loop() (#4992) | Yury Selivanov | 2017-12-23 | 1 | -0/+6 |
| | |||||
* | bpo-32250: Implement asyncio.current_task() and asyncio.all_tasks() (#4799) | Andrew Svetlov | 2017-12-16 | 1 | -0/+22 |
| | |||||
* | bpo-32311: Implement asyncio.create_task() shortcut (#4848) | Andrew Svetlov | 2017-12-15 | 1 | -4/+21 |
| | | | | | * Implement functionality * Add documentation | ||||
* | bpo-32314: Implement asyncio.run() (#4852) | Yury Selivanov | 2017-12-14 | 1 | -9/+22 |
| | |||||
* | bpo-32258: Replace 'yield from' to 'await' in asyncio docs (#4779) | Andrew Svetlov | 2017-12-11 | 1 | -6/+6 |
| | | | | | | * Replace 'yield from' to 'await' in asyncio docs * Fix docstrings | ||||
* | bpo-32272: Remove asyncio.async() function. (#4784) | Yury Selivanov | 2017-12-11 | 1 | -6/+0 |
| | |||||
* | bpo-31960: Fix asyncio.Future documentation for thread (un)safety. (#4319) | Antoine Pitrou | 2017-11-07 | 1 | -1/+1 |
| | |||||
* | Fix miscellaneous typos (#4275) | luzpaz | 2017-11-05 | 1 | -1/+1 |
| | |||||
* | Add the link to asyncio source code in the docs (GH-2373) | lf | 2017-07-25 | 1 | -0/+4 |
| | |||||
* | bpo-24755: Document asyncio.wrap_future (GH-603) | adisbladis | 2017-06-09 | 1 | -0/+5 |
| | |||||
* | Issue #29441: Update examples to use async and await keywords in ↵ | Berker Peksag | 2017-02-07 | 1 | -17/+4 |
| | | | | asyncio-task.rst | ||||
* | Issue #29407: Remove redundant ensure_future() calls in factorial example | Berker Peksag | 2017-02-01 | 1 | -8/+7 |
| | |||||
* | Issue #19795: Improved more markups of True/False. | Serhiy Storchaka | 2016-10-19 | 1 | -2/+2 |
| | |||||
* | Issue #28348: Fix typo in asyncio.Task() documentation | Berker Peksag | 2016-10-04 | 1 | -1/+1 |
| | | | | Patch by Mariatta Wijaya. | ||||
* | Issue #27700: Document AbstractEventLoop, not BaseEventLoop. | Guido van Rossum | 2016-08-08 | 1 | -11/+11 |
| | |||||
* | Use asyncio.gather instead of asyncio.wait in example. | Andrew Svetlov | 2016-08-08 | 1 | -1/+1 |
| | | | | | gather will raise exception in case of problem but wait just returns done and pending lists of futures. For getting error every future result should be retrieved, which is boring and error prone. | ||||
* | asyncio: Remove asyncio.timeout() context manager. | Yury Selivanov | 2016-06-08 | 1 | -16/+0 |
| | | | | | | | It will probably be added back in Python 3.6, once its compatibility issues are resolved; see [1] for more details. [1] https://mail.python.org/pipermail/async-sig/2016-June/000045.html | ||||
* | Fix typo | Zachary Ware | 2016-06-01 | 1 | -1/+1 |
| |