summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-dev.rst
Commit message (Collapse)AuthorAgeFilesLines
* gh-108224: Fix asyncio doc inconsistency (#108230)temach2023-08-211-1/+1
| | | (Spawning subprocesses does not require the event loop to run in the main thread -- only signal handling does.)
* gh-106909: Use role :const: for referencing module constants (GH-106910)Serhiy Storchaka2023-07-211-2/+2
|
* gh-65046: Link to logging cookbook from asyncio docs (#98207)Shantanu2022-10-121-1/+2
|
* gh-96377: Update asyncio policy doc intro paras to be clear and accurate ↵C.A.M. Gerlach2022-09-271-1/+1
| | | | | (#97603) Also fix up some cross-references in the asyncio docs.
* GH-65046: Fix docs about logging in `asyncio` (#97559)Kumar Aditya2022-09-261-0/+4
| | | Explain that logging should not use network I/O.
* [docs] Use full names for time units (GH-28611)Serhiy Storchaka2021-09-291-1/+1
| | | | Use "second", "millisecond", "microsecond", "nanosecond" instead of "sec", "ms", "msec", "us", "ns", etc.
* Improve asyncio-dev 'Concurrency and Multithreading' docs (GH-20882)Roger Iyengar2020-08-291-0/+10
| | | | | | | I added some information to the `Concurrency and Multithreading` section of the `Developing with asyncio` guide. This is all information that would have helped me when I started using asyncio. I incorrectly assumed that `loop.call_soon_threadsafe()` and `run_coroutine_threadsafe()` could be called from a thread in a process separate from the one that the event loop is running in. Explicitly stating that this will not work will probably help some people starting out with asyncio in the future. I also added references to some other functions that can be used for inter-process communication without blocking the event loop. The section already mentions running blocking code in a ThreadPoolExecutor, but I think listing these other options in this section will also be helpful.
* Improve asyncio.loop.call_soon() documentation (GH-20883)Roger Iyengar2020-06-231-1/+1
| | | | | | * Add a glossary entry for the term "callback" * Link to it in loop.call_soon() and in the "Concurrency and Multithreading" section Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-39429: Add a new "Python Development Mode" doc page (GH-18132)Victor Stinner2020-01-241-1/+1
|
* Fix grammar in asyncio-dev.rst (GH-15672)Roger Iyengar2019-09-041-1/+1
| | | Automerge-Triggered-By: @ned-deily
* Fix a typo in asyncio-dev.rst. (GH-10133)Benjamin Peterson2018-10-261-1/+1
| | | "threadsafe"
* bpo-33649: A copy-editing pass on asyncio documentation (GH-9376)Elvis Pranskevichus2018-09-171-27/+26
|
* bpo-33649: Fix asyncio-dev (GH-9324)Yury Selivanov2018-09-141-316/+138
|
* Grammar fix (GH-9318)Grant2018-09-141-1/+1
|
* Polish doc as part of asyncio doc improvement (GH-9185)Carol Willing2018-09-131-18/+17
|
* bpo-33649: First asyncio docs improvement pass (GH-9142)Yury Selivanov2018-09-111-15/+16
| | | | | | | | | | | | | Rewritten/updated sections: * Event Loop APIs * Transports & Protocols * Streams * Exceptions * Policies * Queues * Subprocesses * Platforms
* bpo-32258: Replace 'yield from' to 'await' in asyncio docs (#4779)Andrew Svetlov2017-12-111-34/+25
| | | | | | * Replace 'yield from' to 'await' in asyncio docs * Fix docstrings
* Asyncion-Dev docs: Fix the reference to sys.excepthook (GH-4414)Ashley Camba2017-11-241-2/+2
|
* bpo-32047: -X dev enables asyncio debug mode (#4418)Victor Stinner2017-11-201-1/+8
| | | | The new -X dev command line option now also enables asyncio debug mode.
* Improve grammar in asyncio documentation (GH-2993)Mike DePalatis2017-08-031-1/+1
| | | | "not only is it .." is the correct form, as opposed to: "not only it is ..."
* Issue #21443: Show how to change log level for asyncio.Guido van Rossum2016-10-131-0/+8
|
* Issue #27700: Document AbstractEventLoop, not BaseEventLoop.Guido van Rossum2016-08-081-11/+11
|
* Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-4/+12
| | | | Patch by Julien Palard.
* Docs and one small improvement for issue #25304, by Vincent Michel. (Merge ↵Guido van Rossum2015-10-051-3/+9
|\ | | | | | | 3.4->3.5.)
| * Docs and one small improvement for issue #25304, by Vincent Michel.Guido van Rossum2015-10-051-3/+9
| |
* | Merge 3.4 -> 3.5Andrew Svetlov2015-09-241-5/+5
|\ \ | |/
| * Fix #25208: Improve "Develop with asyncio" doc page.Andrew Svetlov2015-09-241-5/+5
| | | | | | | | Patch by Benjamin Hodgson.
* | Issue #24487: Rename async() -> ensure_future() in asyncio docs.Yury Selivanov2015-07-011-6/+6
|/ | | | Patch by Martin Panter.
* docs/asyncio: Document new ensure_future() and deprecated async()Yury Selivanov2015-05-111-13/+13
|
* asyncio doc: close explicitly event loopsVictor Stinner2015-02-231-0/+2
|
* asyncio doc: explain how to display ResourceWarning in the debug mode sectionVictor Stinner2015-02-041-15/+24
|
* asyncio doc: document the new ResourceWarning warningsVictor Stinner2015-01-301-0/+11
|
* asyncio doc: add a section about task cancellationVictor Stinner2015-01-291-0/+37
|
* asyncio doc: list limitations to run subprocesses from different threadsVictor Stinner2015-01-091-0/+5
|
* Cosmetic fixes to the 'Develop with asyncio' pageZachary Ware2015-01-061-8/+10
|
* asyncio doc: update debug tracesVictor Stinner2014-10-121-16/+27
|
* asyncio: update the docVictor Stinner2014-08-251-1/+9
| | | | | | * dev: mention that the logging must be configured at DEBUG level * streams: drain() has no more a strange return value, it's just a standard coroutine
* Update asyncio documentationVictor Stinner2014-07-081-29/+66
| | | | | | | | | - 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
* asyncio: document the debug modeVictor Stinner2014-06-221-4/+27
|
* asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUGVictor Stinner2014-02-201-1/+0
| | | | env var), document the default debug mode
* asyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests.Victor Stinner2014-02-191-4/+6
| | | | | | Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since Python startup, to be able to debug coroutines defined directly in the asyncio module.
* Close #20649: Fix typo in asyncio doc. Patch written by Brett Cannon.Victor Stinner2014-02-181-1/+1
|
* Various formatting & grammar fixes in asyncio* docs.Eli Bendersky2014-02-091-1/+1
|
* asyncio doc: mention that asyncio is not thread-safeVictor Stinner2014-02-071-0/+6
|
* Add missing word ("thread") to sentence about call_soon_threadsafe.Guido van Rossum2014-02-041-1/+1
|
* asyncio doc: add an example to schedule a coroutine from a different threadVictor Stinner2014-02-041-5/+8
|
* asyncio doc: add "asyncio-" prefix to referencesVictor Stinner2014-02-021-1/+1
|
* asyncio doc: add "Concurrency and multithreading" sectionVictor Stinner2014-02-011-3/+27
|
* asyncio doc: document the granularity of the event loopVictor Stinner2014-02-011-6/+11
| | | | Improve also the "Logging" section
* asyncio doc: close the loop at exitVictor Stinner2014-01-281-0/+1
|