Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename Future._blocking to _asyncio_future_blocking. | Guido van Rossum | 2016-09-09 | 2 | -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 Panter | 2016-09-07 | 1 | -1/+1 | |
| | ||||||
* | Fix ordering issues in UNIX read/write pipe transport constructors. | Guido van Rossum | 2016-08-31 | 1 | -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 Rossum | 2016-08-31 | 1 | -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 Rossum | 2016-08-23 | 1 | -1/+1 | |
| | | | | in self._waiters. | |||||
* | Issue #27392: Add loop.connect_accepted_socket(). | Yury Selivanov | 2016-07-12 | 1 | -4/+24 | |
| | | | | Patch by Jim Fulton. | |||||
* | asyncio: Use socket specs for getaddrinfo() in sock_connect() | Yury Selivanov | 2016-06-28 | 1 | -1/+2 | |
| | | | | Patch by Martin Richard. GH PR #365. | |||||
* | asyncio: Fix NameError in sslproto _fatal_error() | Yury Selivanov | 2016-06-28 | 1 | -0/+1 | |
| | | | | Patch by Richard Walker. | |||||
* | Issue #22970: asyncio: Fix inconsistency cancelling Condition.wait. | Yury Selivanov | 2016-06-11 | 1 | -1/+7 | |
| | | | | Patch by David Coles. | |||||
* | Issue #27223: aio: Fix _read_ready and _write_ready to respect _conn_lost. | Yury Selivanov | 2016-06-11 | 1 | -0/+11 | |
| | | | | Patch by Łukasz Langa. | |||||
* | Issue #27243: Fix __aiter__ protocol | Yury Selivanov | 2016-06-09 | 2 | -0/+7 | |
| | ||||||
* | asyncio: Remove asyncio.timeout() context manager. | Yury Selivanov | 2016-06-08 | 1 | -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 getaddrinfo | Yury Selivanov | 2016-06-08 | 3 | -87/+62 | |
| | | | | Patch by A. Jesse Jiryu Davis | |||||
* | Fix typos in code comment and documentation | Martin Panter | 2016-06-04 | 1 | -1/+1 | |
| | ||||||
* | asyncio: Fix getaddrinfo to accept service names (for port) | Yury Selivanov | 2016-06-02 | 1 | -3/+19 | |
| | | | | Patch by A. Jesse Jiryu Davis | |||||
* | asyncio: Support host=b'' for getaddrinfo | Yury Selivanov | 2016-06-02 | 1 | -1/+1 | |
| | ||||||
* | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -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 Selivanov | 2016-05-21 | 1 | -1/+1 | |
| | ||||||
* | asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg | Yury Selivanov | 2016-05-20 | 1 | -0/+5 | |
| | | | | Patch by A. Jesse Jiryu Davis. | |||||
* | asyncio: Fix an SSL warning in StreamReaderProtocol.eof_received | Yury Selivanov | 2016-05-20 | 1 | -0/+7 | |
| | ||||||
* | asyncio: fix ResourceWarning related to subprocesses | Victor Stinner | 2016-05-20 | 1 | -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 attr | Yury Selivanov | 2016-05-16 | 1 | -33/+34 | |
| | ||||||
* | Issue #27041: asyncio: Add loop.create_future method | Yury Selivanov | 2016-05-16 | 12 | -31/+44 | |
| | ||||||
* | Issue #27040: Add loop.get_exception_handler method | Yury Selivanov | 2016-05-16 | 2 | -0/+8 | |
| | ||||||
* | asyncio: Fix unix pipe transport 'repr' methods | Yury Selivanov | 2016-05-13 | 1 | -4/+10 | |
| | | | | | Patch by Vincent Michel. See also https://github.com/python/asyncio/pull/326 | |||||
* | asyncio: Break reference cycle in StreamReaderProtocol.connection_lost | Yury Selivanov | 2016-05-13 | 1 | -4/+7 | |
| | ||||||
* | Issue #26848: Fix asyncio/subprocess.communicate() to handle empty input. | Yury Selivanov | 2016-05-13 | 1 | -1/+1 | |
| | ||||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 | |
| | ||||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 | |
| | | | | This affects documentation, code comments, and a debugging messages. | |||||
* | asyncio: Don't log ConnectionAbortedError | Victor Stinner | 2016-04-01 | 5 | -5/+10 | |
| | | | | | Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows. | |||||
* | asyncio: allow None as wait timeout | Victor Stinner | 2016-04-01 | 1 | -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 Selivanov | 2016-03-02 | 1 | -2/+5 | |
| | | | | Patch by Sebastien Bourdeauducq (issue #26338) | |||||
* | asyncio: Prevent StopIteration from being thrown into a Future | Yury Selivanov | 2016-03-02 | 1 | -0/+3 | |
| | | | | Patch by Chris Angelico (issue #26221) | |||||
* | asyncio: Fix @coroutine to recognize CoroWrapper (issue #25647) | Yury Selivanov | 2016-03-02 | 1 | -1/+2 | |
| | | | | Patch by Vladimir Rutsky. | |||||
* | Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar | Martin Panter | 2016-02-10 | 1 | -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 Stinner | 2016-02-01 | 1 | -6/+6 | |
| | | | | Patch written by Carlo Beccarini <hackdiablo.cb@gmail.com>. | |||||
* | Issue #26050: Add asyncio.StreamReader.readuntil() method. | Yury Selivanov | 2016-01-11 | 1 | -38/+187 | |
| | | | | Patch by Марк Коренберг. | |||||
* | Sync with asyncio | Andrew Svetlov | 2016-01-11 | 1 | -1/+1 | |
| | ||||||
* | Sync with asyncio repo | Andrew Svetlov | 2016-01-11 | 2 | -7/+61 | |
| | ||||||
* | asyncio: Skip getaddrinfo if host is already resolved. | Yury Selivanov | 2015-12-17 | 4 | -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 loop | Yury Selivanov | 2015-12-11 | 1 | -1/+7 | |
| | | | | See https://github.com/python/asyncio/pull/303 for details | |||||
* | asyncio: Sync with github | Yury Selivanov | 2015-12-11 | 1 | -0/+3 | |
| | ||||||
* | asyncio: Fix with github | Yury Selivanov | 2015-11-20 | 1 | -0/+11 | |
| | | | | See https://github.com/python/asyncio/pull/295 for details | |||||
* | asyncio: Drop "value" parameter from Task._step method. | Yury Selivanov | 2015-11-20 | 1 | -10/+12 | |
| | ||||||
* | Issue #25593: Change semantics of EventLoop.stop(). | Guido van Rossum | 2015-11-19 | 2 | -21/+15 | |
| | ||||||
* | asyncio: Error if awaiting in parallel on the same coroutine | Yury Selivanov | 2015-11-18 | 1 | -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 API | Yury Selivanov | 2015-11-17 | 5 | -36/+42 | |
| | | | | See https://github.com/python/asyncio/pull/292 for details. | |||||
* | asyncio: Sync with github | Yury Selivanov | 2015-11-17 | 1 | -3/+0 | |
| | ||||||
* | asyncio: Optimize Task._wakeup | Yury Selivanov | 2015-11-16 | 1 | -2/+11 | |
| | | | | See https://github.com/python/asyncio/pull/289 for details. | |||||
* | asyncio: Add Transport.is_closing() | Yury Selivanov | 2015-11-16 | 7 | -1/+23 | |
| | | | | See https://github.com/python/asyncio/pull/291 for details. |