summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/protocols.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (31327)Alex Waygood2022-02-151-4/+0
| | | The docstring for `BufferedProtocol` states that the class is still an "experimental API", but it has been considered stable since 3.8.
* bpo-35394: Add empty slots to abstract asyncio protocols (#10889)Andrew Svetlov2018-12-111-0/+10
| | | | | | * bpo-35394: Add empty slots to abstract asyncio protocols * Add missing test file
* bpo-33694: Fix typo in helper function name (GH-7522)Victor Stinner2018-06-081-1/+1
| | | | | | _feed_data_to_bufferred_proto() renamed to _feed_data_to_buffered_proto() ("bufferred" => "buffered"). Typo spotted by Nathaniel J. Smith.
* bpo-33694: Fix race condition in asyncio proactor (GH-7498)Victor Stinner2018-06-071-0/+19
| | | | | | | | | | | | | | | | The cancellation of an overlapped WSARecv() has a race condition which causes data loss because of the current implementation of proactor in asyncio. No longer cancel overlapped WSARecv() in _ProactorReadPipeTransport to work around the race condition. Remove the optimized recv_into() implementation to get simple implementation of pause_reading() using the single _pending_data attribute. Move _feed_data_to_bufferred_proto() to protocols.py. Remove set_protocol() method which became useless.
* bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130)Yury Selivanov2018-05-281-5/+5
| | | | | | | | | | | 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
* Fix duplicating words words. (GH-6296)Serhiy Storchaka2018-03-281-1/+1
| | | Most of them have been added in 3.7.
* bpo-32251: Fix docs (#5408)Yury Selivanov2018-01-291-1/+1
|
* bpo-32251: Implement asyncio.BufferedProtocol. (#4755)Yury Selivanov2018-01-281-1/+56
|
* bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775)Yury Selivanov2017-12-101-3/+5
|
* asyncio doc: document Protocol state machineVictor Stinner2015-01-291-0/+5
|
* asyncio: Fix spelling and typos.Yury Selivanov2014-02-191-1/+1
| | | | Thanks to Vajrasky Kok for discovering some of them.
* asyncio: Export all abstract protocol and transport classes. Fixes issue #20029.Guido van Rossum2013-12-201-1/+2
|
* asyncio: Use Interface instead of ABC. Fixes issue 19726.Guido van Rossum2013-11-301-4/+4
|
* asyncio: Replace connection_refused() with error_received().Guido van Rossum2013-11-161-5/+7
|
* Write flow control for asyncio (includes asyncio.streams overhaul).Guido van Rossum2013-10-181-0/+28
|
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+98