summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename Future._blocking to _asyncio_future_blocking.Guido van Rossum2016-09-092-5/+14
| | | | | | | | | | | | This is now an official "protected" API that can be used to write classes that are duck-type-compatible with Future without subclassing it. (For that purpose I also changed isinstance(result, Future) to check for this attribute instead.) Hopefully Amber Brown can use this to make Twisted.Deferred compatible with asyncio.Future. Tests and docs are TBD.
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
|
* Fix ordering issues in UNIX read/write pipe transport constructors.Guido van Rossum2016-08-311-6/+17
| | | | Upstream https://github.com/python/asyncio/pull/408 by Ron Frederick.
* Don't select for read on character devices in _UnixWritePipeTransport.Guido van Rossum2016-08-311-4/+4
| | | | Upstream https://github.com/python/asyncio/pull/374 by Ron Frederick.
* In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is ↵Guido van Rossum2016-08-231-1/+1
| | | | in self._waiters.
* Issue #27392: Add loop.connect_accepted_socket().Yury Selivanov2016-07-121-4/+24
| | | | Patch by Jim Fulton.
* asyncio: Use socket specs for getaddrinfo() in sock_connect()Yury Selivanov2016-06-281-1/+2
| | | | Patch by Martin Richard. GH PR #365.
* asyncio: Fix NameError in sslproto _fatal_error()Yury Selivanov2016-06-281-0/+1
| | | | Patch by Richard Walker.
* Issue #22970: asyncio: Fix inconsistency cancelling Condition.wait.Yury Selivanov2016-06-111-1/+7
| | | | Patch by David Coles.
* Issue #27223: aio: Fix _read_ready and _write_ready to respect _conn_lost.Yury Selivanov2016-06-111-0/+11
| | | | Patch by Łukasz Langa.
* Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-092-0/+7
|
* asyncio: Remove asyncio.timeout() context manager.Yury Selivanov2016-06-081-53/+0
| | | | | | | It will probably be added back in Python 3.6, once its compatibility issues are resolved; see [1] for more details. [1] https://mail.python.org/pipermail/async-sig/2016-June/000045.html
* Issue #27136: Fix DNS static resolution; don't use it in getaddrinfoYury Selivanov2016-06-083-87/+62
| | | | Patch by A. Jesse Jiryu Davis
* Fix typos in code comment and documentationMartin Panter2016-06-041-1/+1
|
* asyncio: Fix getaddrinfo to accept service names (for port)Yury Selivanov2016-06-021-3/+19
| | | | Patch by A. Jesse Jiryu Davis
* asyncio: Support host=b'' for getaddrinfoYury Selivanov2016-06-021-1/+1
|
* Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-261-1/+1
| | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* asyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info)Yury Selivanov2016-05-211-1/+1
|
* asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' argYury Selivanov2016-05-201-0/+5
| | | | Patch by A. Jesse Jiryu Davis.
* asyncio: Fix an SSL warning in StreamReaderProtocol.eof_receivedYury Selivanov2016-05-201-0/+7
|
* asyncio: fix ResourceWarning related to subprocessesVictor Stinner2016-05-201-0/+4
| | | | | | Issue #26741: asyncio: BaseSubprocessTransport._process_exited() now copies the return code from the child watched to the returncode attribute of the Popen object. On Python 3.6, it is required to avoid a ResourceWarning.
* asyncio/streams: Fix code style; delete LimitOverrunError.message attrYury Selivanov2016-05-161-33/+34
|
* Issue #27041: asyncio: Add loop.create_future methodYury Selivanov2016-05-1612-31/+44
|
* Issue #27040: Add loop.get_exception_handler methodYury Selivanov2016-05-162-0/+8
|
* asyncio: Fix unix pipe transport 'repr' methodsYury Selivanov2016-05-131-4/+10
| | | | | Patch by Vincent Michel. See also https://github.com/python/asyncio/pull/326
* asyncio: Break reference cycle in StreamReaderProtocol.connection_lostYury Selivanov2016-05-131-4/+7
|
* Issue #26848: Fix asyncio/subprocess.communicate() to handle empty input.Yury Selivanov2016-05-131-1/+1
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-1/+1
| | | | This affects documentation, code comments, and a debugging messages.
* asyncio: Don't log ConnectionAbortedErrorVictor Stinner2016-04-015-5/+10
| | | | | Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows.
* asyncio: allow None as wait timeoutVictor Stinner2016-04-011-6/+8
| | | | | | Fix GH#325: Allow to pass None as a timeout value to disable timeout logic. Change written by Andrew Svetlov and merged by Guido van Rossum.
* asyncio: Remove duplicate bind addresses in create_server.Yury Selivanov2016-03-021-2/+5
| | | | Patch by Sebastien Bourdeauducq (issue #26338)
* asyncio: Prevent StopIteration from being thrown into a FutureYury Selivanov2016-03-021-0/+3
| | | | Patch by Chris Angelico (issue #26221)
* asyncio: Fix @coroutine to recognize CoroWrapper (issue #25647)Yury Selivanov2016-03-021-1/+2
| | | | Patch by Vladimir Rutsky.
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-101-1/+1
| | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* Fix error message in asyncio.selector_events.Victor Stinner2016-02-011-6/+6
| | | | Patch written by Carlo Beccarini <hackdiablo.cb@gmail.com>.
* Issue #26050: Add asyncio.StreamReader.readuntil() method.Yury Selivanov2016-01-111-38/+187
| | | | Patch by Марк Коренберг.
* Sync with asyncioAndrew Svetlov2016-01-111-1/+1
|
* Sync with asyncio repoAndrew Svetlov2016-01-112-7/+61
|
* asyncio: Skip getaddrinfo if host is already resolved.Yury Selivanov2015-12-174-45/+89
| | | | | | | | | | | | | getaddrinfo takes an exclusive lock on some platforms, causing clients to queue up waiting for the lock if many names are being resolved concurrently. Users may want to handle name resolution in their own code, for the sake of caching, using an alternate resolver, or to measure DNS duration separately from connection duration. Skip getaddrinfo if the "host" passed into create_connection is already resolved. See https://github.com/python/asyncio/pull/302 for details. Patch by A. Jesse Jiryu Davis.
* asyncio: Make Tasks check if Futures are attached to the same event loopYury Selivanov2015-12-111-1/+7
| | | | See https://github.com/python/asyncio/pull/303 for details
* asyncio: Sync with githubYury Selivanov2015-12-111-0/+3
|
* asyncio: Fix with githubYury Selivanov2015-11-201-0/+11
| | | | See https://github.com/python/asyncio/pull/295 for details
* asyncio: Drop "value" parameter from Task._step method.Yury Selivanov2015-11-201-10/+12
|
* Issue #25593: Change semantics of EventLoop.stop().Guido van Rossum2015-11-192-21/+15
|
* asyncio: Error if awaiting in parallel on the same coroutineYury Selivanov2015-11-181-1/+7
| | | | | | This change won't do anything in CPython 3.4 See https://github.com/python/asyncio/pull/293 for details.
* asyncio: Cleanup Future APIYury Selivanov2015-11-175-36/+42
| | | | See https://github.com/python/asyncio/pull/292 for details.
* asyncio: Sync with githubYury Selivanov2015-11-171-3/+0
|
* asyncio: Optimize Task._wakeupYury Selivanov2015-11-161-2/+11
| | | | See https://github.com/python/asyncio/pull/289 for details.
* asyncio: Add Transport.is_closing()Yury Selivanov2015-11-167-1/+23
| | | | See https://github.com/python/asyncio/pull/291 for details.