Jamie Phan
73e8637002
gh-113812: Allow DatagramTransport.sendto to send empty data ( #115199 )
...
Also include the UDP packet header sizes (8 bytes per packet)
in the buffer size reported to the flow control subsystem.
2024-02-16 18:38:07 -08:00
Hugo van Kemenade
92483b21b3
gh-101100: Fix Sphinx warnings in `whatsnew/2.7.rst` and related ( #115319 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-12 14:40:41 +02:00
Victor Stinner
ced6924630
gh-108973: Fix asyncio test_subprocess_consistent_callbacks() ( #109431 )
...
SubprocessProtocol process_exited() method can be called before
pipe_data_received() and pipe_connection_lost() methods. Document it
and adapt the test for that.
Revert commit 282edd7b2a
.
_child_watcher_callback() calls immediately _process_exited(): don't
add an additional delay with call_soon(). The reverted change didn't
make _process_exited() more determistic: it can still be called
before pipe_connection_lost() for example.
Co-authored-by: Davide Rizzo <sorcio@gmail.com>
2023-09-20 15:54:19 +02:00
Nikita Sobolev
ad1d6a1c20
gh-108903: Remove unneeded `lambda`s from `asyncio` (GH-108904)
2023-09-05 18:11:12 +03:00
Kumar Aditya
2fdcc6f2cb
GH-91635: clarify docs about closing of transport in asyncio ( #98563 )
2022-10-24 10:52:02 -07:00
Hugo van Kemenade
fa2d43e518
Docs: Fix backtick errors found by sphinx-lint ( #97998 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-10-06 18:01:30 -07:00
kudavid
2918846a4f
Subprocess Protocols Documentation (GH-20950)
...
Should be "Subprocess Protocol instances" not "Datagram Protocol instances"
2021-05-14 10:20:33 -07:00
marload
6fc732a211
Fix typo in docs: 'created by th' -> 'created by the' (GH-21384)
2020-07-10 21:13:31 +05:30
Anj-A
4443450fda
bpo-38652: Remove provisional note for asyncio.BufferedProtocol (GH-17047)
...
https://bugs.python.org/issue38652
2019-12-07 04:53:12 -08:00
Kyle Stanley
f900064ac4
docs: Add asyncio source code links (GH-16640)
2019-10-10 19:18:46 -04:00
Yury Selivanov
6758e6e12a
bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" ( #16482 )
...
See https://bugs.python.org/issue38242 for more details
2019-09-29 21:59:55 -07:00
Hrvoje Nikšić
5d359cc62e
bpo-38192: Fix remaining passing of "loop" in the protocol examples (GH-16202)
...
See https://bugs.python.org/issue38192 .
https://bugs.python.org/issue38192
2019-09-17 00:16:43 -07:00
Hrvoje Nikšić
c717c73fa3
bpo-38178: Don't explicitly pass "loop" to EchoClientProtocol. (GH-16159)
...
https://bugs.python.org/issue38178
2019-09-15 10:06:02 -07:00
Xtreak
6793cce155
bpo-36889: Document asyncio Stream and StreamServer (GH-14203)
2019-06-24 21:16:58 +03:00
Pablo Galindo
5033e315d2
Fix broken :ref: in asyncio docs (GH-11805)
2019-02-10 00:21:37 +00:00
Braden Groom
43a5bd7b45
bpo-23554: Change echo server example class name from EchoServerClientProtocol to EchoServerProtocol (GH-9859)
2018-10-15 17:39:16 -04: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
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
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
c9d66f0ed4
bpo-33649 Polish asyncio docs on queues, protocols, and subproccesses ( #9306 )
...
* small clarification
* edits to protocols doc
* Edit async queue doc
2018-09-14 10:06:55 -07:00
Bumsik Kim
aca819fb49
bpo-33649: Fix doc to reflect changes in 47cd10d
(or bpo-23347) (GH-9219)
2018-09-12 11:31:56 -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
Yury Selivanov
dbf102271f
bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130)
...
In this commit:
* Support BufferedProtocol in set_protocol() and start_tls()
* Fix proactor to cancel readers reliably
* Update tests to be compatible with OpenSSL 1.1.1
* Clarify BufferedProtocol docs
* Bump TLS tests timeouts to 60 seconds; eliminate possible race from start_serving
* Rewrite test_start_tls_server_1
2018-05-28 14:31:28 -04:00
Serhiy Storchaka
bac2d5ba30
Fix duplicating words words. (GH-6296)
...
Most of them have been added in 3.7.
2018-03-28 22:14:26 +03:00
Yury Selivanov
07627e9a6a
bpo-32251: Fix docs ( #5408 )
2018-01-28 23:51:08 -05:00
Yury Selivanov
631fd38dbf
bpo-32251: Implement asyncio.BufferedProtocol. ( #4755 )
2018-01-28 16:30:26 -05:00
Yury Selivanov
d757aaf9dd
bpo-32356: idempotent pause_/resume_reading; new is_reading method. ( #4914 )
2017-12-18 17:03:23 -05:00
Andrew Svetlov
8874342cf3
bpo-32258: Replace 'yield from' to 'await' in asyncio docs ( #4779 )
...
* Replace 'yield from' to 'await' in asyncio docs
* Fix docstrings
2017-12-11 17:35:49 +02:00
Victor Stinner
ac577d7d0b
bpo-32154: Remove asyncio.windows_utils.socketpair ( #4609 )
2017-11-28 21:33:20 +01:00
lf
627d2c8e8d
Add the link to asyncio source code in the docs (GH-2373)
2017-07-25 16:03:51 -07:00
Kojo Idrissa
5200a7c7f9
bpo-29933: Improve set_write_buffer_limits description (GH-2262)
...
Improve the description of the high and low parameters for set_write_buffer_limits.
Also fixed a small grammatical issue.
2017-06-20 12:32:00 -07:00
Barry Warsaw
dd9a0a14c8
Fix a minor typo. ( #1032 )
2017-04-07 14:18:14 -04:00
Mariatta
091b84f23a
Asyncio documentation: remove `self` from method signatures (GH-334)
2017-02-27 05:44:15 -08:00
Yury Selivanov
3432f2f47c
Issue #28089 : Document TCP_NODELAY in asyncio
...
Initial patch by Mariatta Wijaya.
2016-12-12 16:44:58 -05:00
Berker Peksag
2ebd6feeae
Issue #28088 : Don't include self in method signature
...
Also update versionadded directive to 3.5.3.
2016-11-07 23:36:14 +03:00
INADA Naoki
1ea023e523
Issue #28088 : Document Transport.set_protocol and get_protocol
2016-11-04 16:33:47 +09:00
Serhiy Storchaka
ecf41da83e
Issue #19795 : Mark up None as literal text.
2016-10-19 16:29:26 +03:00
Martin Panter
d210a70dd9
Minor spelling fixes
2016-08-20 08:03:06 +00:00
Guido van Rossum
f68afd8544
Issue #27700 : Document AbstractEventLoop, not BaseEventLoop.
2016-08-08 09:41:21 -07:00
Yury Selivanov
9920e293c3
Merge 3.4
2015-12-16 21:31:04 -05:00
Yury Selivanov
cba0053bef
docs/asyncio: Twek sections names per Nick Coghlan suggestion
2015-12-16 21:30:52 -05:00
Guido van Rossum
82f9feaf10
Issue #25593 : Change semantics of EventLoop.stop(). (Merge 3.4->3.5)
2015-11-19 13:33:34 -08:00
Guido van Rossum
41f69f4cc7
Issue #25593 : Change semantics of EventLoop.stop().
2015-11-19 13:28:47 -08:00
Yury Selivanov
344904cf1f
asyncio.docs: Document Transport.is_closing (merge 3.4)
2015-11-16 12:47:15 -05:00
Yury Selivanov
1744d53930
asyncio.docs: Document Transport.is_closing
2015-11-16 12:46:41 -05:00
Serhiy Storchaka
a84f6c3dd3
Issue #25523 : Merge a-to-an corrections from 3.4.
2015-11-02 14:39:05 +02:00
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
2015-11-02 14:10:23 +02:00
Martin Panter
84835ab1cb
Issue #25161 : Merge full stops from 3.4 into 3.5
2015-10-10 10:44:25 +00:00
Martin Panter
d21e0b52f1
Issue #25161 : Add full stops in documentation; patch by Takase Arihiro
2015-10-10 10:36:22 +00:00