summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
Commit message (Collapse)AuthorAgeFilesLines
* asyncio: Fix _format_coroutine for coroutine-like objects w/o __name__Yury Selivanov2016-11-091-2/+6
| | | | | | Some built-in coroutine-like objects might not have __name__ or __qualname__. A good example of such are 'asend', 'aclose' and 'athrow' coroutine methods of asynchronous generators.
* Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop()Yury Selivanov2016-11-081-0/+1
|
* Issue #28634: Fix asyncio.isfuture() to support mocksYury Selivanov2016-11-071-2/+3
|
* Issue #28613: Fix get_event_loop() to return the current loopYury Selivanov2016-11-043-2/+47
| | | | when called from coroutines or callbacks.
* asyncio: Sync with upstreamYury Selivanov2016-11-031-0/+3
|
* Issue #28600: Optimize loop.call_soon().Yury Selivanov2016-11-032-22/+19
| | | | | Run expensive type checks only in debug mode. In addition, stop supporting passing handles to loop.run_in_executor.
* Issue #26796: Don't configure the number of workers for default threadpool ↵Yury Selivanov2016-10-211-4/+1
| | | | | | executor. Initial patch by Hans Lawrenz.
* Issue #26923: Fix asyncio.Gather to refuse being cancelled once all children ↵Yury Selivanov2016-10-211-2/+4
| | | | | | are done. Patch by Johannes Ebke.
* Issue #27972: Prohibit Tasks to await on themselves.Yury Selivanov2016-10-091-7/+14
|
* Issue #28399: Remove UNIX socket from FS before binding.Yury Selivanov2016-10-091-0/+11
| | | | Patch by Коренберг Марк.
* asyncio: Only allow Unix Stream sockets for loop.create_unix_server/connectionYury Selivanov2016-10-071-2/+9
|
* asyncio: Add "call_connection_made" arg to SSLProtocol.__init__Yury Selivanov2016-10-051-2/+5
| | | | | | | | | Issue #23749: With this change it's possible to implement starttls as a separate package on PyPI, or even by copying/pasting a small snipped of code in your project. It's expected that we'll figure out the API design for starttls during 3.6, so that we can add it in 3.7.
* Issue #28372: Fix asyncio to support formatting of non-python coroutinesYury Selivanov2016-10-051-0/+19
|
* Issue #28371: Deprecate passing asyncio.Handles to run_in_executor.Yury Selivanov2016-10-051-0/+3
|
* Issue #28370: Speedup asyncio.StreamReader.readexactlyYury Selivanov2016-10-051-19/+17
| | | | Patch by Коренберг Марк.
* Issue #28369: Raise an error when transport's FD is used with add_readerYury Selivanov2016-10-053-65/+130
|
* Issue #28368: Refuse monitoring processes if the child watcher has no loop ↵Yury Selivanov2016-10-051-5/+18
| | | | | | attached. Patch by Vincent Michel.
* Misc asyncio improvements from upstreamGuido van Rossum2016-09-305-22/+16
|
* Issue #28176: Fix callbacks race in asyncio.SelectorLoop.sock_connect.Yury Selivanov2016-09-151-17/+10
|
* Issue #26909: Fix slow pipes IO in asyncio.Yury Selivanov2016-09-151-15/+12
| | | | Patch by INADA Naoki.
* Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__.Yury Selivanov2016-09-152-14/+15
| | | | Patch by iceboy.
* Issue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio)Yury Selivanov2016-09-151-12/+13
| | | | Patch by Seth Michael Larson.
* Issue #27906: Fix socket accept exhaustion during high TCP traffic.Yury Selivanov2016-09-153-35/+42
| | | | Patch by Kevin Conway.
* Another asyncio sync.Yury Selivanov2016-09-152-5/+11
|
* asyncio: Sync with the upstreamYury Selivanov2016-09-152-0/+64
|
* Issue #27456: asyncio: Set TCP_NODELAY by default.Yury Selivanov2016-09-121-0/+16
|
* asyncio: Add set_protocol / get_protocol methods to TransportsYury Selivanov2016-09-126-0/+44
|
* Merge asyncio upstream.Guido van Rossum2016-09-094-13/+25
|
* 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
|