summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/transports.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914)Cleber Rosa2020-08-201-2/+2
| | | | | | | Fix grammar in BaseTransport.close docstring. https://bugs.python.org/issue41572 Signed-off-by: Cleber Rosa <crosa@redhat.com>
* bpo-38148: Add slots to asyncio transports (GH-16077)Andrew Svetlov2019-09-131-0/+14
| | | | | | | | * bpo-38148: Add slots to asyncio transports * Update Misc/NEWS.d/next/Library/2019-09-13-08-55-43.bpo-38148.Lnww6D.rst Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* bpo-32528: Make asyncio.CancelledError a BaseException. (GH-13528)Yury Selivanov2019-05-271-2/+6
| | | | | | | | | | | | | | | This will address the common mistake many asyncio users make: an "except Exception" clause breaking Tasks cancellation. In addition to this change, we stop inheriting asyncio.TimeoutError and asyncio.InvalidStateError from their concurrent.futures.* counterparts. There's no point for these exceptions to share the inheritance chain. In 3.9 we'll focus on implementing supervisors and cancel scopes, which should allow better handling of all exceptions, including SystemExit and KeyboardInterrupt
* bpo-32356: idempotent pause_/resume_reading; new is_reading method. (#4914)Yury Selivanov2017-12-181-0/+4
|
* bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775)Yury Selivanov2017-12-101-8/+11
|
* bpo-29617: Remove Python 3.3 support from asyncio (GH-232)INADA Naoki2017-04-251-3/+1
|
* asyncio: Add set_protocol / get_protocol methods to TransportsYury Selivanov2016-09-121-0/+8
|
* asyncio: Add Transport.is_closing()Yury Selivanov2015-11-161-0/+4
| | | | See https://github.com/python/asyncio/pull/291 for details.
* Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-021-1/+1
|
* asyncio: sync with githubVictor Stinner2015-07-251-2/+0
| | | | | | | | | * Fix ResourceWarning warnings in test_streams * Return True from StreamReader.eof_received() to fix http://bugs.python.org/issue24539 (but still needs a unittest). Add StreamReader.__repr__() for easy debugging. * remove unused imports * Issue #234: Drop JoinableQueue on Python 3.5+
* asyncio: Add asyncio.compat moduleVictor Stinner2015-07-251-7/+3
| | | | | Move compatibility helpers for the different Python versions to a new asyncio.compat module.
* asyncio: Move loop attribute to _FlowControlMixinVictor Stinner2014-11-051-1/+3
| | | | | | | | | Move the _loop attribute from the constructor of _SelectorTransport, _ProactorBasePipeTransport and _UnixWritePipeTransport classes to the constructor of the _FlowControlMixin class. Add also an assertion to explicit that the parent class must ensure that the loop is defined (not None)
* asyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits() methodVictor Stinner2014-08-251-0/+3
|
* asyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocolYury Selivanov2014-02-191-2/+6
|
* asyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixinYury Selivanov2014-02-181-0/+70
|
* asyncio: make PY34 symbol private (rename it to _PY34)Victor Stinner2014-01-021-2/+2
|
* asyncio: Export all abstract protocol and transport classes. Fixes issue #20029.Guido van Rossum2013-12-201-1/+3
|
* asyncio: Improve default writelines().Guido van Rossum2013-12-031-4/+12
|
* asyncio: Use Interface instead of ABC. Fixes issue 19726.Guido van Rossum2013-11-301-5/+5
|
* Fix typo.Guido van Rossum2013-11-231-1/+1
|
* Fix transport docstringsAntoine Pitrou2013-11-231-5/+5
|
* Write flow control for asyncio (includes asyncio.streams overhaul).Guido van Rossum2013-10-181-0/+25
|
* Rename Transport.pause/resume to pause_reading/pause_writing. Also relax ↵Guido van Rossum2013-10-181-3/+3
| | | | timeout in test_call_later().
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+186