summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-eventloop.rst
Commit message (Collapse)AuthorAgeFilesLines
* GH-82604: fix docs about configuring selector (#97755)Kumar Aditya2022-10-041-3/+6
|
* GH-82448: Add thread timeout for loop.shutdown_default_executor (#97561)Kumar Aditya2022-09-281-1/+10
| | | | Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* gh-96377: Update asyncio policy doc intro paras to be clear and accurate ↵C.A.M. Gerlach2022-09-271-2/+5
| | | | | (#97603) Also fix up some cross-references in the asyncio docs.
* gh-96706: [doc] Don't recomment deprecated use of get_event_loop() in ↵zhanpon2022-09-111-3/+3
| | | | examples (#96707)
* gh-93973: Add all_errors to asyncio.create_connection (#93974)Pamela Fox2022-09-051-1/+13
| | | | Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
* gh-95767: Fix grammatical error in asyncio loop.create_task docs (#95768)Andrzej Bartosiński2022-08-091-1/+1
|
* bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API ↵Andrew Svetlov2022-03-141-2/+9
| | | | (GH-31837)
* bpo-46805: Add low level UDP socket functions to asyncio (GH-31455)Alex Grönholm2022-03-131-0/+35
|
* bpo-44011: Document ssl_shutdown_timeout added by revisited asyncio SSL ↵Kumar Aditya2022-02-261-5/+55
| | | | implementation (GH-31597)
* bpo-46777: Fix incorrect use of directives in asyncio documentation (GH-31388)Serhiy Storchaka2022-02-181-36/+26
|
* typos (#30239)Kumar Aditya2021-12-231-3/+3
|
* bpo-46157: fix typo in docs (GH-30237)Kumar Aditya2021-12-231-4/+4
|
* Clarify new_event_loop return value. (GH-30078)Paul Bryan2021-12-131-1/+1
|
* bpo-45896: Fix docs default asyncio event loop on Windows (GH-29857)Rob2021-12-011-3/+4
|
* bpo-45693: Document `port` parameter to `loop.create_server` (GH-29760)Jim Crist-Harif2021-11-241-0/+5
| | | | | | | | Document the `port` parameter to `loop.create_server` in `asyncio`. In particular, note that if `host` resolves to multiple network interfaces, passing in `port=0` will result in a different random unused port being used for each interface. Automerge-Triggered-By: GH:ericvsmith
* bpo-45129 Remove deprecated reuse_address (GH-28207)Hugo van Kemenade2021-09-081-19/+19
| | | | | | | | Due to significant security concerns, the reuse_address parameter of asyncio.loop.create_datagram_endpoint, deprecated in Python 3.9, is now removed. This is because of the behavior of the socket option SO_REUSEADDR in UDP. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44508: [Doc] Document failure mode for loop.call_soon_threadsafe (GH-27688)meowmeowmeowcat2021-08-171-0/+4
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [doc] Fix typo in asyncio Event Loop (GH-27377)Vinicius Gubiani Ferreira2021-07-271-1/+1
| | | | | First Pull Request to cpython, so forgive me for any mistakes Automerge-Triggered-By: GH:Mariatta
* bpo-43234: Prohibit non-ThreadPoolExecutor in loop.set_default_executor ↵Illia Volochii2021-07-011-8/+4
| | | | (GH-24540)
* Typo fix in asyncio-eventloop.rst (GH-26482)Zac Bentley2021-06-021-1/+1
|
* [doc] Fix typo in asyncio-eventloop documentation (GH-22311)Bruno2021-05-191-2/+2
|
* bpo-39529: Deprecate creating new event loop in asyncio.get_event_loop() ↵Serhiy Storchaka2021-04-251-0/+5
| | | | | | (GH-23554) asyncio.get_event_loop() emits now a deprecation warning when it creates a new event loop. In future releases it will became an alias of asyncio.get_running_loop().
* [doc] Fix erroneous backslashes in signatures and names (GH-23658)Andre Delfino2020-12-171-18/+18
| | | | | 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.
* Document optional 'task'/'asyncgen' fields in call_exception_handler (#21735)Shane Harvey2020-11-261-1/+4
|
* Improve asyncio.loop.call_soon() documentation (GH-20883)Roger Iyengar2020-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>
* bpo-39128: Added algorithm description (GH-18624)idomic2020-02-241-0/+11
| | | | | | | | | | # [bpo-39128](https://bugs.python.org/issue39128): happy eyeballs description # [3.9] 39128 - happy eyeballs description (GH-18624) # [3.8] 39128 - happy eyeballs description (GH-18624) https://bugs.python.org/issue39128
* bpo-39128: Added happy_eyeballs_delay, interleave to function signature ↵idomic2020-02-101-2/+3
| | | | (GH-18315)
* bpo-39429: Add a new "Python Development Mode" doc page (GH-18132)Victor Stinner2020-01-241-1/+1
|
* Fix asyncio.get_event_loop() documentation (GH-18051)Andrew Svetlov2020-01-201-2/+4
| | | Mention that the function implicitly creates new event loop only if called from the main thread.
* Doc typo (#17667)Jesús Cea2019-12-201-1/+1
|
* bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (#17311)Kyle Stanley2019-12-091-5/+19
|
* docs: Add asyncio source code links (GH-16640)Kyle Stanley2019-10-101-0/+4
|
* bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482)Yury Selivanov2019-09-301-1/+2
| | | See https://bugs.python.org/issue38242 for more details
* bpo-34037: Fix test_asyncio failure and add loop.shutdown_default_executor() ↵Kyle Stanley2019-09-191-0/+12
| | | | (GH-15735)
* bpo-36889: Document asyncio Stream and StreamServer (GH-14203)Xtreak2019-06-241-2/+1
|
* asyncio: Fix docs for default event loop (#14308)Ben Darnell2019-06-221-1/+1
| | | When the Windows default event loop changed, `asyncio-policy.rst` was updated but `asyncio-eventloop.rst` was missed.
* 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
|