summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-task.rst
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing coroutine declaration in the asyncio documentation. (GH-5964)Miss Islington (bot)2018-03-031-1/+1
| | | | | (cherry picked from commit 13cfd57dcf58485d6242fd8118c6ea4b10e29aab) Co-authored-by: Joongi Kim <me@daybreaker.info>
* bpo-31960: Fix asyncio.Future documentation for thread (un)safety. (GH-4319) ↵Miss Islington (bot)2017-11-071-1/+1
| | | | | (#4320) (cherry picked from commit 22b1128559bdeb96907da5840960691bb050d11a)
* Add the link to asyncio source code in the docs (GH-2373) (GH-2884)Mariatta2017-07-261-0/+4
| | | (cherry picked from commit 627d2c8e8dc9cfe6c1cdfd9b34899eb30b600a88)
* bpo-24755: Document asyncio.wrap_future (GH-603) (GH-2019)Mariatta2017-06-091-0/+5
| | | (cherry picked from commit 824f6879121413e09439fffef54580413e44bf46)
* Issue #29441: Update examples to use async and await keywords in ↵Berker Peksag2017-02-071-17/+4
| | | | asyncio-task.rst
* Issue #29407: Remove redundant ensure_future() calls in factorial exampleBerker Peksag2017-02-011-8/+7
|
* Issue #19795: Improved more markups of True/False.Serhiy Storchaka2016-10-191-2/+2
|
* Issue #28348: Fix typo in asyncio.Task() documentationBerker Peksag2016-10-041-1/+1
| | | | Patch by Mariatta Wijaya.
* Issue #27700: Document AbstractEventLoop, not BaseEventLoop.Guido van Rossum2016-08-081-11/+11
|
* Use asyncio.gather instead of asyncio.wait in example.Andrew Svetlov2016-08-081-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 Selivanov2016-06-081-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 typoZachary Ware2016-06-011-1/+1
|
* docs: Update asyncio docs & whatsnewYury Selivanov2016-05-161-0/+2
|
* Document None as timeout for asyncio.timeout()Andrew Svetlov2016-03-291-0/+2
|
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-101-1/+1
| | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* Fix versionadded to use 3.5.1 only for 3.5 branchAndrew Svetlov2016-01-111-1/+1
|
* merge 3.4Andrew Svetlov2016-01-111-48/+64
|\
| * Document asyncio.timeout()Andrew Svetlov2016-01-111-46/+63
| |
* | docs/asyncio: Update ensure_future & run_coroutine_threadsafe docsYury Selivanov2015-12-151-1/+4
| |
* | Merge 3.4Yury Selivanov2015-11-181-1/+1
|\ \ | |/
| * asyncio.docs: Fix versionaddedYury Selivanov2015-11-181-1/+1
| |
* | Docs and one small improvement for issue #25304, by Vincent Michel. (Merge ↵Guido van Rossum2015-10-051-0/+39
|\ \ | |/ | | | | 3.4->3.5.)
| * Docs and one small improvement for issue #25304, by Vincent Michel.Guido van Rossum2015-10-051-0/+39
| |
* | Issue #24487: Rename async() -> ensure_future() in asyncio docs.Yury Selivanov2015-07-011-3/+3
| | | | | | | | Patch by Martin Panter.
* | Issue #24439: Improve PEP 492 related docs.Yury Selivanov2015-06-241-32/+54
|/ | | | Patch by Martin Panter.
* docs/asyncio: Document new ensure_future() and deprecated async()Yury Selivanov2015-05-111-6/+14
|
* Issue #23219: Update asyncio.wait_for() documentationVictor Stinner2015-04-031-0/+5
| | | | the wait is cancelled, the future *fut* is now also cancelled.
* asyncio: add a note about (non) thread safety in each classVictor Stinner2015-02-251-0/+4
|
* asyncio doc: annotate coroutine on coroutine functions and methodsVictor Stinner2015-02-121-3/+5
|
* Closes #22475: asyncio doc, fix Task.get_stack() docVictor Stinner2014-12-021-1/+1
|
* Close #22473: asyncio doc: rephrase Future with run_forever() exampleVictor Stinner2014-12-021-8/+3
|
* asyncio doc: explain how to pass keywords to callbacks (functools.partial)Victor Stinner2014-11-281-0/+5
|
* asyncio doc: write simpler examples to introduce asyncioVictor Stinner2014-10-151-13/+43
|
* asyncio doc: more explicit doc for async()Victor Stinner2014-10-121-1/+2
| | | | | The function schedules the execution of coroutines, it's not just a wrapper for something.
* asyncio doc: cleanup Hello World examplesVictor Stinner2014-10-111-2/+3
|
* Revert #22251Berker Peksag2014-09-271-1/+0
|
* Issue #22251: Fix ReST markup to avoid errors building docs.Berker Peksag2014-09-271-0/+1
|
* Improve English phrasing in asyncio task docs.R David Murray2014-09-241-9/+9
|
* Issue #22112, asyncio doc: replace loop.create_task(coro) withVictor Stinner2014-08-101-12/+16
| | | | | | asyncio.async(coro), mention that asyncio.async() can be used to scheduler a coroutine, and make it clear that create_task() is only available in Python 3.4.2 and later.
* Englich grammar nit.Terry Jan Reedy2014-07-241-1/+1
|
* Update asyncio documentationVictor Stinner2014-07-081-17/+42
| | | | | | | | | - Document the new create_task() method - "Hide" the Task class: point to the create_task() method for interoperability - Rewrite the documentation of the Task class - Document the "Pending task destroyed" - Update output in debug mode of examples in the dev section - Replace Task() with create_task() in examples
* Closes #21921: Fix ResourceWarning in the asyncio examples: close the eventVictor Stinner2014-07-051-1/+4
| | | | | loop at exit. Patch written by Vajrasky Kok (I modified also the "hello world" example using a coroutine).
* Issue #21596: asyncio.wait(): mention that the sequence of futures must notVictor Stinner2014-06-101-0/+2
| | | | be empty.
* Issue #21601: Document asyncio.Task.cancel(). Initial patch written by VajraskyVictor Stinner2014-06-021-1/+21
| | | | Kok.
* Issue #21376: document asyncio.TimeoutErrorVictor Stinner2014-05-281-4/+17
|
* asyncio.docs: Improve wordings; add a note to the Coroutines section. Issue ↵Yury Selivanov2014-02-201-2/+12
| | | | #20706
* Close #20652: asyncio doc: close the event loop in run_forever() example. FixVictor Stinner2014-02-171-3/+6
| | | | also typo. Patch written by Vajrasky Kok.
* mergeBrian Curtin2014-02-091-1/+1
|\
| * asyncio doc: fix gather() docVictor Stinner2014-02-091-1/+1
| |
* | Spelling corrections. Submitted to python-dev by python@mrabarnett.plus.comBrian Curtin2014-02-091-2/+2
|/