- 30 May, 2018 5 kayıt (commit)
-
-
jhaydaman yazdı
Future.set_result and Future.set_exception now raise InvalidStateError if the futures are not pending or running. This mirrors the behavior of asyncio.Future, and prevents AssertionErrors in asyncio.wrap_future when set_result is called multiple times.
-
Yury Selivanov yazdı
This reverts commit ad74d505. Turns out it's not a good fix -- Travis has just crashed on this test.
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
This reverts commit 5d97b7bc.
-
Elvis Pranskevichus yazdı
-
- 29 May, 2018 16 kayıt (commit)
-
-
Yury Selivanov yazdı
-
Julien Palard yazdı
-
Elvis Pranskevichus yazdı
Unlike `asyncio.wait_for()`, `asyncio.wait()` does not cancel the passed futures when a timeout accurs.
-
Elvis Pranskevichus yazdı
Currently, asyncio.wait_for(fut), upon reaching the timeout deadline, cancels the future and returns immediately. This is problematic for when *fut* is a Task, because it will be left running for an arbitrary amount of time. This behavior is iself surprising and may lead to related bugs such as the one described in bpo-33638: condition = asyncio.Condition() async with condition: await asyncio.wait_for(condition.wait(), timeout=0.5) Currently, instead of raising a TimeoutError, the above code will fail with `RuntimeError: cannot wait on un-acquired lock`, because `__aexit__` is reached _before_ `condition.wait()` finishes its cancellation and re-acquires the condition lock. To resolve this, make `wait_for` await for the task cancellation. The tradeoff here is that the `timeout` promise may be broken if the task decides to handle its cancellation in a slow way. This represents a behavior change and should probably not be back-patched to 3.6 and earlier.
-
Yury Selivanov yazdı
-
Géry Ogam yazdı
-
Yury Selivanov yazdı
Original patch by Dan O'Reilly.
-
Mandeep Singh yazdı
-
Yury Selivanov yazdı
-
Serhiy Storchaka yazdı
* Failure in adding to gc.garbage is no longer fatal. * An exception in tp_clear() no longer lead to crash (though tp_clear() should not leave exceptions).
-
Dong-hee Na yazdı
-
Victor Stinner yazdı
Use transport.set_write_buffer_limits() in sendfile tests of test_asyncio to make sure that the protocol is paused after sending 4 KiB. Previously, test_sendfile_fallback_close_peer_in_the_middle_of_receiving() failed on FreeBSD if the DATA was smaller than the default limit of 64 KiB.
-
Serhiy Storchaka yazdı
Remove the docstring attribute of AST types and restore docstring expression as a first stmt in their body. Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
-
Steve Dower yazdı
-
- 28 May, 2018 17 kayıt (commit)
-
-
Victor Stinner yazdı
Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto: start immediately the handshake instead of using call_soon(). Previously, data_received() could be called before the handshake started, causing the handshake to hang or fail.
-
Andrés Delfino yazdı
-
Andrés Delfino yazdı
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
-
Steve Dower yazdı
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
-
Steve Dower yazdı
bpo-33614: Ensures module definition files for the stable ABI on Windows are correctly regenerated. (GH-7165)
-
Victor Stinner yazdı
Using -w, when failing tests are re-run in verbose mode, display again the tests results at the end.
-
Yury Selivanov yazdı
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
-
jimmylai yazdı
-
twisteroid ambassador yazdı
Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's already closed raises AttributeError.
-
Yury Selivanov yazdı
-
Marcel Plch yazdı
-
Serhiy Storchaka yazdı
-
- 26 May, 2018 2 kayıt (commit)
-
-
Ethan Smith yazdı
-
Ned Deily yazdı
The failure may be due to the use oF ZFS, a case we already ignore for Solaris-based systems where ZFS is frequently used.
-