summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-eventloop.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.8] [doc] Fix erroneous backslashes in signatures and names (GH-23658) ↵Andre Delfino2020-12-221-18/+18
| | | | | | | | | | (GH-23828) The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.. (cherry picked from commit dcc997cd28ab33ebac44182ee55533c1b37689f7) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Improve asyncio.loop.call_soon() documentation (GH-20883)Miss Islington (bot)2020-06-231-2/+2
| | | | | | | | | * 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> (cherry picked from commit a16d6970496cae5ecab5aaea2b416a4b77527cc2) Co-authored-by: Roger Iyengar <ri@rogeriyengar.com>
* bpo-39128: Added algorithm description (GH-18624)Miss Islington (bot)2020-02-241-0/+11
| | | | | | | | | | | GH- [bpo-39128](https://bugs.python.org/issue39128): happy eyeballs description GH- [3.9] 39128 - happy eyeballs description (GH-18624) GH- [3.8] 39128 - happy eyeballs description (GH-18624) https://bugs.python.org/issue39128 (cherry picked from commit 8af4712a16e4b7d1b60f1faec13cd7a88da95f6a) Co-authored-by: idomic <michael.ido@gmail.com>
* bpo-39128: Added happy_eyeballs_delay, interleave to function signature ↵Miss Islington (bot)2020-02-101-2/+3
| | | | | | | (GH-18315) (cherry picked from commit 5305cc9dbfe8a5a0ab666511f3ba7f026c8983f8) Co-authored-by: idomic <michael.ido@gmail.com>
* Fix asyncio.get_event_loop() documentation (GH-18051)Miss Islington (bot)2020-01-201-2/+4
| | | | | | Mention that the function implicitly creates new event loop only if called from the main thread. (cherry picked from commit 2c49becc69c05934996a00b902e4a4f089b91954) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* Doc typo (GH-17667) (#17668)Miss Islington (bot)2019-12-231-1/+1
| | | | | | | | (cherry picked from commit b0d4949f1fb04f83691e10a5453d1e10e4598bb9) Co-authored-by: Jesús Cea <jcea@jcea.es> Co-authored-by: Jesús Cea <jcea@jcea.es>
* bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR ↵Miss Islington (bot)2019-12-091-5/+19
| | | | | | | (GH-17311) (#17529) (cherry picked from commit ab513a38c98695f271e448fe2cb7c5e39eeaaaaf) Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* docs: Add asyncio source code links (GH-16640)Miss Islington (bot)2019-10-101-0/+4
| | | | | (cherry picked from commit f900064ac4b35226caad7502abc8a7e64f1c0e9d) Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) ↵Yury Selivanov2019-09-301-1/+2
| | | | | (#16485) See https://bugs.python.org/issue38242 for more details
* bpo-36889: Document asyncio Stream and StreamServer (GH-14203)Miss Islington (bot)2019-06-241-2/+1
| | | | | (cherry picked from commit 6793cce155f8875b10efd746cb0b34cb72263af7) Co-authored-by: Xtreak <tir.karthi@gmail.com>
* asyncio: Fix docs for default event loop (GH-14308)Miss Islington (bot)2019-06-241-1/+1
| | | | | | When the Windows default event loop changed, `asyncio-policy.rst` was updated but `asyncio-eventloop.rst` was missed. (cherry picked from commit 9ffca670ed4df42eb256e7144619a9d3a830e7c0) Co-authored-by: Ben Darnell <ben@bendarnell.com>
* Revert "bpo-34037, asyncio: add BaseEventLoop.wait_executor_on_close ↵Łukasz Langa2019-06-041-8/+2
| | | | | (GH-13786)" (#13802) This reverts commit 0f0a30f4da4b529e0f7df857b9f575b231b32758.
* bpo-34037, asyncio: add BaseEventLoop.wait_executor_on_close (GH-13786)Victor Stinner2019-06-031-2/+8
| | | | | | | Add BaseEventLoop.wait_executor_on_close attribute: true by default. loop.close() now waits for the default executor to finish by default. Set loop.wait_executor_on_close attribute to False to not wait for the executor.
* bpo-29883: Asyncio proactor udp (GH-13440)Andrew Svetlov2019-05-281-2/+3
| | | | | | Follow-up for #1067 https://bugs.python.org/issue29883
* bpo-36686: Improve the documentation of the std* params in ↵sbstp2019-05-271-24/+44
| | | | | loop.subprocess_exec (GH-13586) https://bugs.python.org/issue36686
* bpo-33530: Implement Happy Eyeballs in asyncio, v2 (GH-7237)twisteroid ambassador2019-05-051-1/+23
| | | | | | | | | | Added two keyword arguments, `delay` and `interleave`, to `BaseEventLoop.create_connection`. Happy eyeballs is activated if `delay` is specified. We now have documentation for the new arguments. `staggered_race()` is in its own module, but not exported to the main asyncio package. https://bugs.python.org/issue33530
* Fixed typo (GH-11522)Alexander Vasin2019-05-031-2/+2
| | | | | | | | | Given example does not run, loop variable is missing. Secondly, this is bad example how to handle shutdown signal, because it would cause `RuntimeError: Event loop stopped before Future completed.` Perhaps it would be better to cancel all tasks instead of closing loop directly? Did not create issue, because question is quite simple.
* bpo-36651: Fixed Asyncio Event Loop documentation inconsistency (GH-12866)Enrico Alarico Carbognani2019-04-181-3/+3
| | | | | | | | | | | | # [bpo-36651](https://bugs.python.org/issue36651): Fixed Asyncio Event Loop documentation inconsistency In the documentation for the call_later and the call_at methods there is a note which says that the delay cannot be longer than a day, but both methods have a note saying that this limitation was removed in Python 3.8 Here I fixed this issue by removing the pre-exising note and added a versionchanged. To test my changes I have rebuilt the documentation with ```make html```. I did not have any errors and the effected page displayed correctly on a browser. https://bugs.python.org/issue36651
* bpo-36074: Result of `asyncio.Server.sockets` after `Server.close()` after ↵Emmanuel Arias2019-02-221-2/+1
| | | | | | | | | | | is not clear (GH-11987) [bpo-36074](https://bugs.python.org/issue36074): It becomes clear on that the None is still return for server closed. https://bugs.python.org/issue36074
* bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145)Hrvoje Nikšić2018-12-181-0/+8
|
* bpo-35395: fix typos in asyncio eventloop documentation (GH-10880)Naglis2018-12-041-2/+2
| | | | | | Fixes `loop.add_writer` and `loop.add_signal_handler` method documentation to correctly reference the callback parameter from method signature. https://bugs.python.org/issue35395
* Doc: fix asyncio loop.close() description (GH-10229)Andriy Maletsky2018-10-291-1/+1
| | | Needs backport to 3.7. In 3.6 the description is correct.
* bpo-11233: Create availability directive for documentation (GH-9692)Cheryl Sabella2018-10-121-5/+5
| | | | | | Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org>
* bpo-34687: Update asyncio doc for ProactorEventLoop (GH-9623)Victor Stinner2018-09-281-9/+0
| | | | | | | | | | Since ProactorEventLoop is now the default in 3.8, remove examples using it explicitly on Windows. https://bugs.python.org/issue34687
* bpo-33649: More improvements (GH-9439)Yury Selivanov2018-09-201-4/+45
|
* bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403)Yury Selivanov2018-09-181-1/+1
| | | Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
* bpo-33649: Note that asyncio.run() calls shutdown_asyncgens() (GH-9380)Yury Selivanov2018-09-181-1/+5
|
* bpo-33649: A copy-editing pass on asyncio documentation (GH-9376)Elvis Pranskevichus2018-09-171-162/+165
|
* bpo-33649: Add low-level APIs index. (GH-9364)Yury Selivanov2018-09-171-6/+8
|
* bpo-33649: Clarify protocol_factory as a method parameter (GH-9330)Bumsik Kim2018-09-161-4/+17
|
* bpo-33649: Fix asyncio-dev (GH-9324)Yury Selivanov2018-09-141-0/+5
|
* bpo-33649: Add high-level APIs cheat-sheet (GH-9319)Yury Selivanov2018-09-141-1/+1
|
* bpo-33649: Refresh Tasks and Futures pages (#9314)Yury Selivanov2018-09-141-1/+1
| | | | | | | | * bpo-33649: Refresh Tasks and Futures pages * Fixes * Fix markup
* bpo-33649: Edit asyncio eventloop doc - second pass (GH-9233)Carol Willing2018-09-131-62/+68
|
* bpo-33649: First asyncio docs improvement pass (GH-9142)Yury Selivanov2018-09-111-456/+704
| | | | | | | | | | | | | 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önholm2018-08-081-1/+7
| | | Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com>
* bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532)MartinAltmayer2018-07-311-4/+0
|
* bpo-34075: Deprecate non-ThreadPoolExecutor in loop.set_default_executor() ↵Elvis Pranskevichus2018-07-301-1/+8
| | | | | | | (GH-8533) Various asyncio internals expect that the default executor is a `ThreadPoolExecutor`, so deprecate passing anything else to `loop.set_default_executor()`.
* doc: Fix typo in asyncio-eventloop.rst (GH-7345)MarcoFalke2018-06-091-2/+2
| | | This is a fixup to 19a44f63c738388ef3c8515348b4ffc061dfd627
* bpo-33736: Improve the documentation of asyncio stream APIs (GH-7326)Elvis Pranskevichus2018-06-081-2/+2
|
* bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321)Yury Selivanov2018-06-041-4/+4
| | | | | | | * Fix AttributeError (not all SSL exceptions have 'errno' attribute) * Increase default handshake timeout from 10 to 60 seconds * Make sure start_tls can be cancelled correctly * Make sure any error in SSLProtocol gets propagated (instead of just being logged)
* bpo-32436: Document PEP 567 changes to asyncio. (GH-7073)Yury Selivanov2018-05-231-4/+28
|
* Add versionchanged in create_datagram_endpoint doc (#4697)Romuald Brunet2018-05-141-0/+3
| | | | | Most of the parameters were added in 3.4.4 (b9bf913ab32), but this change was not documented
* Fix senfile typo (#6265)Sam Dunster2018-03-281-1/+1
| | | * Also in docs
* Fix a typo in asyncio docs (#5721)Andrew Svetlov2018-02-171-1/+1
|
* Implement TimerHandle.when() (#5473)Andrew Svetlov2018-02-011-4/+19
|
* bpo-32327: Revert loop.run_in_executor behaviour: return a Future. (#5392)Yury Selivanov2018-01-281-6/+9
| | | | I've run some tests on 3.7 asyncio and it appears that too many things assume that run_in_executor returns a Future.
* bpo-32622: Fix AbstractEventLoop.sendfile signature in documentation. (GH-5368)Elvis Pranskevichus2018-01-271-1/+1
|
* bpo-32622: Implement loop.sendfile() (#5271)Andrew Svetlov2018-01-271-0/+31
|
* bpo-32662: Implement Server.start_serving() and Server.serve_forever() (#5312)Yury Selivanov2018-01-251-5/+82
| | | | | | | | | | | | | * bpo-32662: Implement Server.start_serving() and Server.serve_forever() New methods: * Server.start_serving(), * Server.serve_forever(), and * Server.is_serving(). Add 'start_serving' keyword parameter to loop.create_server() and loop.create_unix_server().