Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863) | Andrew Svetlov | 2020-01-07 | 1 | -2/+6 |
| | | | https://bugs.python.org/issue39191 | ||||
* | bpo-34790: Implement deprecation of passing coroutines to asyncio.wait() ↵ | Kyle Stanley | 2019-12-30 | 1 | -5/+19 |
| | | | | (GH-16977) | ||||
* | Fix warnings in test_asyncio.test_base_events (#17577) | Kyle Stanley | 2019-12-12 | 1 | -3/+4 |
| | | | Co-authored-by: tirkarthi | ||||
* | bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566) | Victor Stinner | 2019-12-11 | 3 | -11/+16 |
| | | | | | | | | | | | | | | | Replace hardcoded timeout constants in tests with SHORT_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once. SHORT_TIMEOUT is 30 seconds by default, but it can be longer depending on --timeout command line option. The change makes almost all timeouts longer, except test_reap_children() of test_support which is made 2x shorter: SHORT_TIMEOUT should be enough. If this test starts to fail, LONG_TIMEOUT should be used instead. Uniformize also "from test import support" import in some test files. | ||||
* | bpo-38614: Use test.support.LONG_TIMEOUT constant (GH-17562) | Victor Stinner | 2019-12-10 | 1 | -1/+2 |
| | | | | | | | | Replace hardcoded timeout constants in tests with LONG_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once. LONG_TIMEOUT is 5 minutes by default, but it can be longer depending on --timeout command line option. | ||||
* | bpo-38614: Use default join_thread() timeout in tests (GH-17559) | Victor Stinner | 2019-12-10 | 1 | -1/+1 |
| | | | | | Tests no longer pass a timeout value to join_thread() of test.support: use the default join_thread() timeout instead (SHORT_TIMEOUT constant of test.support). | ||||
* | bpo-38614: Use test.support.LOOPBACK_TIMEOUT constant (GH-17554) | Victor Stinner | 2019-12-10 | 4 | -6/+8 |
| | | | | | Replace hardcoded timeout constants in tests with LOOPBACK_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once. | ||||
* | bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (#17311) | Kyle Stanley | 2019-12-09 | 1 | -17/+24 |
| | |||||
* | bpo-38529: Fix asyncio stream warning (GH-17474) | Andrew Svetlov | 2019-12-07 | 1 | -53/+0 |
| | |||||
* | bpo-38841: Skip asyncio test_create_datagram_endpoint_existing_sock_unix ↵ | xdegaye | 2019-11-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | (GH-17294) on platforms lacking a functional bind() for named unix domain sockets https://bugs.python.org/issue38841 Automerge-Triggered-By: @asvetlov | ||||
* | closes bpo-38692: Add a pidfd child process watcher to asyncio. (GH-17069) | Benjamin Peterson | 2019-11-14 | 1 | -0/+18 |
| | |||||
* | bpo-38785: Prevent asyncio from crashing (GH-17144) | Andrew Svetlov | 2019-11-13 | 1 | -0/+39 |
| | | | | | | | if parent `__init__` is not called from a constructor of object derived from `asyncio.Future` https://bugs.python.org/issue38785 | ||||
* | bpo-38614: Increase asyncio test_communicate() timeout (GH-16995) | Victor Stinner | 2019-10-30 | 1 | -1/+1 |
| | | | | Fix test_communicate() of test_asyncio.test_subprocess: use support.LONG_TIMEOUT (5 minutes), instead of 1 minute. | ||||
* | bpo-34679: ProactorEventLoop only uses set_wakeup_fd() in main thread (GH-16901) | Victor Stinner | 2019-10-23 | 1 | -0/+2 |
| | | | | bpo-34679, bpo-38563: asyncio.ProactorEventLoop.close() now only calls signal.set_wakeup_fd() in the main thread. | ||||
* | bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815) | Victor Stinner | 2019-10-16 | 1 | -14/+10 |
| | | | | | | | | | | main() is now responsible to send the ANSWER, rather than ServerProto. main() now waits until it got the HELLO before sending the ANSWER over the new transport. Previously, there was a race condition between main() replacing the protocol and the protocol sending the ANSWER once it gets the HELLO. TLSv1.3 was disabled for the test: reenable it. | ||||
* | bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) | Yury Selivanov | 2019-09-30 | 5 | -979/+192 |
| | | | See https://bugs.python.org/issue38242 for more details | ||||
* | bpo-38019: correctly handle pause/resume reading of closed asyncio unix pipe ↵ | Andrew Svetlov | 2019-09-29 | 1 | -0/+27 |
| | | | | (GH-16472) | ||||
* | bpo-38248: Fix inconsistent immediate asyncio.Task cancellation (GH-16330) | Yury Selivanov | 2019-09-25 | 1 | -0/+4 |
| | |||||
* | bpo-33694: Remove test_asyncio ProactorDatagramTransportTests (GH-16288) | Victor Stinner | 2019-09-20 | 1 | -253/+0 |
| | | | | ProactorDatagramTransportTests tests are too close to the implementation. | ||||
* | bpo-34037: test_asyncio uses shutdown_default_executor() (GH-16284) | Victor Stinner | 2019-09-19 | 3 | -3/+13 |
| | |||||
* | bpo-37199: Replace the early returns added in c2cda63. (GH-14535) | Zackery Spytz | 2019-09-13 | 1 | -37/+34 |
| | |||||
* | bpo-38148: Add slots to asyncio transports (GH-16077) | Andrew Svetlov | 2019-09-13 | 1 | -4/+9 |
| | | | | | | | | * 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-36373: Deprecate explicit loop in task and subprocess API (GH-16033) | Andrew Svetlov | 2019-09-12 | 3 | -89/+117 |
| | |||||
* | bpo-38107: Replace direct future and task contructor calls with factories in ↵ | Andrew Svetlov | 2019-09-11 | 13 | -159/+156 |
| | | | | asyncio tests (GH-15928) | ||||
* | bpo-36373: Fix deprecation warnings (GH-15889) | Andrew Svetlov | 2019-09-11 | 2 | -6/+4 |
| | | | https://bugs.python.org/issue36373 | ||||
* | bpo-38066: Hide internal Stream methods (GH-15762) | Andrew Svetlov | 2019-09-10 | 2 | -81/+105 |
| | | | | | | feed_eof(), feed_data(), set_exception(), and set_transport() are prefixed with underscore now. https://bugs.python.org/issue38066 | ||||
* | bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs ↵ | Emmanuel Arias | 2019-09-10 | 5 | -253/+372 |
| | | | | | | | | | | | | | | | [locks] (GH-13920) This PR deprecate explicit loop parameters in all public asyncio APIs This issues is split to be easier to review. Third step: locks.py https://bugs.python.org/issue36373 | ||||
* | bpo-15999: Always pass bool instead of int to socket.setblocking(). (GH-15621) | Serhiy Storchaka | 2019-09-01 | 1 | -1/+1 |
| | |||||
* | bpo-34679: Restore instantiation Windows IOCP event loop from non-main ↵ | Andrew Svetlov | 2019-08-26 | 1 | -0/+19 |
| | | | | | | | | thread (#15492) * Restore running proactor event loop from non-main thread Co-Authored-By: Kyle Stanley <aeros167@gmail.com> | ||||
* | bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952) | Serhiy Storchaka | 2019-08-08 | 1 | -0/+23 |
| | | | | They now return NotImplemented for unsupported type of the other operand. | ||||
* | Remove unused imports in tests (GH-14518) | Victor Stinner | 2019-07-01 | 7 | -12/+0 |
| | |||||
* | bpo-37199: Fix test failures when IPv6 is unavailable or disabled (#14480) | Zackery Spytz | 2019-06-30 | 1 | -1/+8 |
| | |||||
* | bpo-35621: Support running subprocesses in asyncio when loop is executed in ↵ | Andrew Svetlov | 2019-06-30 | 3 | -26/+61 |
| | | | | non-main thread (GH-14344) | ||||
* | Replace deprecation warning with RuntimeError (GH-14397) | Andrew Svetlov | 2019-06-27 | 1 | -0/+6 |
| | |||||
* | Get rid of exception traceback printing in asyncio tests (GH-14343) | Andrew Svetlov | 2019-06-24 | 1 | -2/+2 |
| | |||||
* | bpo-37323: Suppress DeprecationWarning raised by @asyncio.coroutine (GH-14293) | Xtreak | 2019-06-22 | 1 | -1/+3 |
| | | | | | | When the test is ran with `PYTHONWARNINGS=error` the environment variable is passed to the python interpreter used in `assert_python_ok` where `DeprecationWarning` from `@asyncio.coroutine` is converted into an error. Ignore the `DeprecationWarning` in `assert_python_ok`. https://bugs.python.org/issue37323 | ||||
* | bpo-35031: also disable TLS 1.3 for test_start_tls_server_1 on macOS (GH-14188) | Ned Deily | 2019-06-18 | 1 | -2/+4 |
| | |||||
* | bpo-35031, test_asycio: disable TLS 1.3 in test_start_tls_server_1() (GH-14148) | Victor Stinner | 2019-06-17 | 1 | -0/+6 |
| | | | | | bpo-35031, bpo-35998: Reintroduce workaround on Windows and FreeBSD in test_start_tls_server_1() of test_asyncio: disable TLS v1.3 on the client context. | ||||
* | bpo-37279: Fix asyncio sendfile support when extra data are sent in ↵ | Andrew Svetlov | 2019-06-15 | 1 | -1/+2 |
| | | | | fallback mode. (GH-14075) | ||||
* | bpo-35998: Avoid TimeoutError in test_asyncio: test_start_tls_server_1() ↵ | Andrew Svetlov | 2019-06-14 | 1 | -18/+19 |
| | | | | (GH-14080) | ||||
* | bpo-37278: Fix test_asyncio ProactorLoopCtrlC (GH-14074) | Victor Stinner | 2019-06-14 | 1 | -7/+8 |
| | | | | | | | | | | | | | Join the thread to prevent leaking a running thread and leaking a reference. Cleanup also the test: * asyncioWindowsProactorEventLoopPolicy became the default policy, there is no need to set it manually. * Only start the thread once the loop is running. * Use a shorter sleep in the thread (100 ms rather than 1 sec). * Use close_loop(loop) rather than loop.close(). * Use longer variable names. | ||||
* | Make asyncio stream sendfile fail on error (was hang) (GH-14025) | Andrew Svetlov | 2019-06-12 | 1 | -5/+8 |
| | |||||
* | bpo-35545: Skip `test_asyncio.test_create_connection_ipv6_scope` on AIX ↵ | Michael Felt | 2019-06-12 | 1 | -0/+2 |
| | | | | | | | | | | | (GH-14011) because "getaddrinfo()" behaves different on AIX https://bugs.python.org/issue35545 | ||||
* | bpo-37142: Make asyncio stream tests more robust again (GH-13804) | Andrew Svetlov | 2019-06-04 | 1 | -9/+16 |
| | | | | Make test_stream_server_close() implementation following test_stream_server_abort(). Add explicit timeout for tests that can hang. | ||||
* | Make StreamServer.close() tests more robust (GH-13790) | Andrew Svetlov | 2019-06-04 | 1 | -11/+37 |
| | |||||
* | bpo-37148: Fix asyncio test that check for warning when running the test ↵ | Pablo Galindo | 2019-06-04 | 1 | -0/+4 |
| | | | | suite with huntleaks (GH-13800) | ||||
* | Revert "bpo-35621: Support running subprocesses in asyncio when loop is ↵ | Andrew Svetlov | 2019-06-04 | 2 | -48/+26 |
| | | | | | executed in non-main thread (#13630)" (GH-13793) https://bugs.python.org/issue35621 | ||||
* | bpo-37137: Fix test_asyncio: use TestCase.set_event_loop() (GH-13779) | Victor Stinner | 2019-06-03 | 1 | -13/+8 |
| | | | | | | | | | Replace asyncio.set_event_loop() with TestCase.set_event_loop() of test_asyncio.utils: this method calls TestCase.close_loop() which waits until the executor completes, to avoid leaking dangling threads. Inherit from test_asyncio.utils.TestCase rather than unittest.TestCase. | ||||
* | bpo-35621: Fix tests when SafeChildWatcher is expected instead of ↵ | Andrew Svetlov | 2019-06-02 | 1 | -0/+1 |
| | | | | | ThreadedChildWatcher (GH-13754) https://bugs.python.org/issue35621 | ||||
* | bpo-35621: Support running subprocesses in asyncio when loop is executed in ↵ | Andrew Svetlov | 2019-06-02 | 2 | -26/+48 |
| | | | | non-main thread (#13630) |