Hrvoje Nikšić
e3666fc8ef
bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145)
2018-12-18 16:31:29 -05:00
Naglis
1747334794
bpo-35395: fix typos in asyncio eventloop documentation (GH-10880)
...
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
2018-12-03 23:31:15 -08:00
Andriy Maletsky
b83d917faf
Doc: fix asyncio loop.close() description (GH-10229)
...
Needs backport to 3.7. In 3.6 the description is correct.
2018-10-29 14:39:21 -07:00
Cheryl Sabella
2d6097d027
bpo-11233: Create availability directive for documentation (GH-9692)
...
Replace "Availability: xxx" with ".. availability:: xxx" in the doc.
Original patch by Georg Brandl.
Co-Authored-By: Georg Brandl <georg@python.org>
2018-10-12 16:55:20 +02:00
Victor Stinner
37aae9dcf1
bpo-34687: Update asyncio doc for ProactorEventLoop (GH-9623)
...
Since ProactorEventLoop is now the default in 3.8, remove examples
using it explicitly on Windows.
https://bugs.python.org/issue34687
2018-09-28 08:40:08 -07:00
Yury Selivanov
e247b46cba
bpo-33649: More improvements (GH-9439)
2018-09-20 12:43:59 -04:00
Yury Selivanov
471503954a
bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403)
...
Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
2018-09-18 17:55:44 -04:00
Yury Selivanov
ac94e38d07
bpo-33649: Note that asyncio.run() calls shutdown_asyncgens() (GH-9380)
2018-09-17 23:58:00 -04:00
Elvis Pranskevichus
1fa2ec49be
bpo-33649: A copy-editing pass on asyncio documentation (GH-9376)
2018-09-17 19:16:44 -04:00
Yury Selivanov
394374e30c
bpo-33649: Add low-level APIs index. (GH-9364)
2018-09-17 15:35:24 -04:00
Bumsik Kim
5cc583d940
bpo-33649: Clarify protocol_factory as a method parameter (GH-9330)
2018-09-16 16:40:44 -07:00
Yury Selivanov
805e27eff6
bpo-33649: Fix asyncio-dev (GH-9324)
2018-09-14 16:57:11 -07:00
Yury Selivanov
7372c3bbef
bpo-33649: Add high-level APIs cheat-sheet (GH-9319)
2018-09-14 15:11:24 -07:00
Yury Selivanov
3faaa8857a
bpo-33649: Refresh Tasks and Futures pages ( #9314 )
...
* bpo-33649: Refresh Tasks and Futures pages
* Fixes
* Fix markup
2018-09-14 13:32:07 -07:00
Carol Willing
5b7cbd602e
bpo-33649: Edit asyncio eventloop doc - second pass (GH-9233)
2018-09-12 17:05:17 -07:00
Yury Selivanov
7c7605ff11
bpo-33649: First asyncio docs improvement pass (GH-9142)
...
Rewritten/updated sections:
* Event Loop APIs
* Transports & Protocols
* Streams
* Exceptions
* Policies
* Queues
* Subprocesses
* Platforms
2018-09-11 09:54:40 -07:00
Alex Grönholm
cca4eec3c0
bpo-34270: Make it possible to name asyncio tasks (GH-8547)
...
Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com>
2018-08-08 17:06:47 -04:00
MartinAltmayer
944451cd8d
bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532)
2018-07-31 10:06:12 -04:00
Elvis Pranskevichus
22d25085db
bpo-34075: Deprecate non-ThreadPoolExecutor in loop.set_default_executor() (GH-8533)
...
Various asyncio internals expect that the default executor is a
`ThreadPoolExecutor`, so deprecate passing anything else to
`loop.set_default_executor()`.
2018-07-30 12:42:43 +02:00
MarcoFalke
7e0d882a98
doc: Fix typo in asyncio-eventloop.rst (GH-7345)
...
This is a fixup to 19a44f63c7
2018-06-09 16:09:13 -07:00
Elvis Pranskevichus
c0d062f523
bpo-33736: Improve the documentation of asyncio stream APIs (GH-7326)
2018-06-08 11:36:00 -04:00
Yury Selivanov
9602643120
bpo-33734: asyncio/ssl: a bunch of bugfixes ( #7321 )
...
* 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)
2018-06-04 11:32:35 -04:00
Yury Selivanov
28b9178023
bpo-32436: Document PEP 567 changes to asyncio. (GH-7073)
2018-05-23 13:35:04 -04:00
Romuald Brunet
0ded580403
Add versionchanged in create_datagram_endpoint doc ( #4697 )
...
Most of the parameters were added in 3.4.4 (b9bf913ab3
), but this
change was not documented
2018-05-14 19:22:00 +03:00
Sam Dunster
65a34709f6
Fix senfile typo ( #6265 )
...
* Also in docs
2018-03-27 17:47:38 -07:00
Andrew Svetlov
17ab8f0e8e
Fix a typo in asyncio docs ( #5721 )
2018-02-17 19:44:35 +02:00
Andrew Svetlov
3d4dbd8f01
Implement TimerHandle.when() ( #5473 )
2018-02-01 19:59:32 +02:00
Yury Selivanov
bec2372b7e
bpo-32327: Revert loop.run_in_executor behaviour: return a Future. ( #5392 )
...
I've run some tests on 3.7 asyncio and it appears that too many
things assume that run_in_executor returns a Future.
2018-01-28 14:09:40 -05:00
Elvis Pranskevichus
ee72ac0683
bpo-32622: Fix AbstractEventLoop.sendfile signature in documentation. (GH-5368)
2018-01-27 17:11:10 -05:00
Andrew Svetlov
7c684073f9
bpo-32622: Implement loop.sendfile() ( #5271 )
2018-01-27 21:22:47 +02:00
Yury Selivanov
c9070d03f5
bpo-32662: Implement Server.start_serving() and Server.serve_forever() ( #5312 )
...
* 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().
2018-01-25 18:08:09 -05:00
Andrew Svetlov
7464e87a65
bpo-32410: Make SendfileNotAvailableError exception public ( #5243 )
2018-01-19 20:04:29 +02:00
Andrew Svetlov
6b5a27975a
bpo-32410: Implement loop.sock_sendfile() ( #4976 )
2018-01-16 19:59:34 +02:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
1634fc289a
bpo-32418: Add get_loop() method on Server, AbstractServer classes ( #4997 )
...
* Add abstract get_loop() method to Server, AbstractServer classes.
* Add test cases for get_loop() method in Server, AbstractServer classes
* Add documentation for get_loop() method
2017-12-30 17:09:32 +02:00
Yury Selivanov
f111b3dcb4
bpo-23749: Implement loop.start_tls() ( #5039 )
2017-12-30 00:35:36 -05:00
Andrew Svetlov
51eb1c6b9c
bpo-29970: Make ssh_handshake_timeout None by default ( #4939 )
...
* Make ssh_handshake_timeout None by default.
* Raise ValueError if ssl_handshake_timeout is used without ssl.
* Raise ValueError if ssl_handshake_timeout is not positive.
2017-12-20 20:24:43 +02:00
Neil Aspinall
f7686c1f55
bpo-29970: Add timeout for SSL handshake in asyncio
...
10 seconds by default.
2017-12-19 21:45:42 +02:00
Yury Selivanov
19a44f63c7
bpo-32327: Convert asyncio functions documented as coroutines to coroutines. ( #4872 )
2017-12-14 20:53:26 -05:00
Yury Selivanov
9edad3c701
bpo-32272: Remove asyncio.async() function. ( #4784 )
2017-12-11 10:03:48 -05:00
Victor Stinner
ac577d7d0b
bpo-32154: Remove asyncio.windows_utils.socketpair ( #4609 )
2017-11-28 21:33:20 +01:00
AraHaan
431665bf19
bpo-32105: add asyncio.BaseEventLoop.connect_accepted_socket versionadded to documentation. ( #4491 )
2017-11-21 11:06:26 -05:00
Yury Selivanov
423fd362f8
bpo-32066: Support pathlib.Path in create_unix_connection; sock arg should be optional ( #4447 )
2017-11-20 17:26:28 -05:00
Marat Sharafutdinov
69cfed1cd7
Add asyncio.Handle.cancelled() method ( #2388 )
2017-11-07 12:06:05 +03:00
Quentin Dawans
fe4ea9cf1e
bpo-31245: Asyncio unix socket datagram ( #3164 )
2017-10-30 09:43:02 -04:00
Antoine Pitrou
525f40d231
bpo-31819: Add AbstractEventLoop.sock_recv_into() ( #4051 )
...
* bpo-31819: Add AbstractEventLoop.sock_recv_into()
* Add NEWS
* Add doc
2017-10-19 15:46:40 -04:00
lf
627d2c8e8d
Add the link to asyncio source code in the docs (GH-2373)
2017-07-25 16:03:51 -07:00
Yury Selivanov
03660041d2
Issue #28091 : Document PEP 525 & PEP 530.
...
Patch by Eric Appelt.
2016-12-15 17:36:05 -05:00
Yury Selivanov
91aa5c12ea
Merge 3.5 (issue #27392 )
2016-11-07 15:35:45 -05:00
Yury Selivanov
3b3a141a83
Issue #27392 : Document loop.connect_accepted_socket()
...
Patch by Jim Fulton.
2016-11-07 15:35:25 -05:00
Guido van Rossum
4948a462e8
Issue #26980 : Improve docs for create_unix_connection(). By Mariatta. (3.5->3.6)
2016-11-03 14:18:04 -07:00