summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-task.rst
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* asyncio doc: document the granularity of the event loopVictor Stinner2014-02-011-0/+3
| | | | Improve also the "Logging" section
* asyncio: document iscoroutine(), iscoroutinefunction() and wait_for()Victor Stinner2014-01-291-2/+28
| | | | Mention that wait_for() now accepts None for the timeout.
* asyncio doc: close the loop at exitVictor Stinner2014-01-281-0/+3
|
* Clarify what the loop arguments means for functions listed in 18.5.2.5Eli Bendersky2014-01-201-0/+6
|
* Explain the 'result' argument in asyncio.sleepEli Bendersky2014-01-201-1/+2
|
* asyncio doc: replace "coroutine" with "coroutine object" or "coroutine function"Victor Stinner2014-01-161-16/+18
|
* asyncio: add a new "Develop with asyncio" section to the documentationVictor Stinner2014-01-161-0/+8
|
* Fix Sphinx markup for asyncio modules so :mod:`asyncio` links work.R David Murray2013-12-201-1/+1
|
* asyncio doc: explain where does the task come from.Victor Stinner2013-12-131-4/+6
|
* Add a sequence diagram for the chained coroutines exampleVictor Stinner2013-12-121-1/+10
|
* asyncio doc: simplify task exampleVictor Stinner2013-12-101-4/+4
|
* asyncio doc: don't document Task.cancel(), already documented in Future.cancel()Victor Stinner2013-12-101-4/+0
|
* asyncio: document Task.current_task()Victor Stinner2013-12-101-0/+8
|
* asyncio: don't document private functionsVictor Stinner2013-12-101-8/+0
|
* asyncio: fix 2nd task exampleVictor Stinner2013-12-101-16/+16
|
* assyncio doc: rewrite, improve and move coroutine, Future and Task examplesVictor Stinner2013-12-101-142/+152
|
* asyncio: another Future example using add_done_callback()Victor Stinner2013-12-091-2/+34
|
* asyncio doc: add an example with FutureVictor Stinner2013-12-091-0/+24
|
* asyncio doc: oh, asyncio module has its own Future classVictor Stinner2013-12-031-12/+103
| | | | | Improve also wait() documentation: mention that the first parameter is a sequence
* asyncio doc: add one more example of coroutinesVictor Stinner2013-12-031-1/+65
|
* asyncio doc: reorder methods; typoVictor Stinner2013-12-031-1/+1
|
* asyncio doc: move coroutine example to the Task pageVictor Stinner2013-12-031-0/+23
|
* Split asyncio documentation into subfilesVictor Stinner2013-12-031-0/+232