Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bbc8b7965b 
								
							 
						 
						
							
							
								
								bpo-38614: Use default join_thread() timeout in tests (GH-17559)  
							
							... 
							
							
							
							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). 
							
						 
						
							2019-12-10 20:41:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								07871b256c 
								
							 
						 
						
							
							
								
								bpo-38614: Use test.support.LOOPBACK_TIMEOUT constant (GH-17554)  
							
							... 
							
							
							
							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. 
							
						 
						
							2019-12-10 20:32:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kyle Stanley 
								
							 
						 
						
							
							
							
							
								
							
							
								ab513a38c9 
								
							 
						 
						
							
							
								
								bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR ( #17311 )  
							
							
							
						 
						
							2019-12-09 15:21:10 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7ddcd0caa4 
								
							 
						 
						
							
							
								
								bpo-38529: Fix asyncio stream warning (GH-17474)  
							
							
							
						 
						
							2019-12-07 13:22:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									xdegaye 
								
							 
						 
						
							
							
							
							
								
							
							
								559bad1a70 
								
							 
						 
						
							
							
								
								bpo-38841: Skip asyncio test_create_datagram_endpoint_existing_sock_unix (GH-17294)  
							
							... 
							
							
							
							on platforms lacking a functional bind() for named unix domain sockets
https://bugs.python.org/issue38841 
Automerge-Triggered-By: @asvetlov 
							
						 
						
							2019-11-20 12:02:07 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3ccdd9b180 
								
							 
						 
						
							
							
								
								closes bpo-38692: Add a pidfd child process watcher to asyncio. (GH-17069)  
							
							
							
						 
						
							2019-11-13 19:08:50 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								dad6be5ffe 
								
							 
						 
						
							
							
								
								bpo-38785: Prevent asyncio from crashing  (GH-17144)  
							
							... 
							
							
							
							if parent `__init__` is not called from a constructor of object derived from `asyncio.Future`
https://bugs.python.org/issue38785  
							
						 
						
							2019-11-13 13:36:46 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a4ed6ed9f3 
								
							 
						 
						
							
							
								
								bpo-38614: Increase asyncio test_communicate() timeout (GH-16995)  
							
							... 
							
							
							
							Fix test_communicate() of test_asyncio.test_subprocess: use
support.LONG_TIMEOUT (5 minutes), instead of 1 minute. 
							
						 
						
							2019-10-30 16:00:44 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1b53a24fb4 
								
							 
						 
						
							
							
								
								bpo-34679: ProactorEventLoop only uses set_wakeup_fd() in main thread (GH-16901)  
							
							... 
							
							
							
							bpo-34679, bpo-38563: asyncio.ProactorEventLoop.close() now only calls
signal.set_wakeup_fd() in the main thread. 
							
						 
						
							2019-10-23 17:25:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fab4ef2df0 
								
							 
						 
						
							
							
								
								bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815)  
							
							... 
							
							
							
							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. 
							
						 
						
							2019-10-16 02:36:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yury Selivanov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6758e6e12a 
								
							 
						 
						
							
							
								
								bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" ( #16482 )  
							
							... 
							
							
							
							See https://bugs.python.org/issue38242  for more details 
							
						 
						
							2019-09-29 21:59:55 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								58498bc717 
								
							 
						 
						
							
							
								
								bpo-38019: correctly handle pause/resume reading of closed asyncio unix pipe (GH-16472)  
							
							
							
						 
						
							2019-09-29 15:00:35 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yury Selivanov 
								
							 
						 
						
							
							
							
							
								
							
							
								edad4d89e3 
								
							 
						 
						
							
							
								
								bpo-38248: Fix inconsistent immediate asyncio.Task cancellation (GH-16330)  
							
							
							
						 
						
							2019-09-25 03:32:08 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bc2256ea17 
								
							 
						 
						
							
							
								
								bpo-33694: Remove test_asyncio ProactorDatagramTransportTests (GH-16288)  
							
							... 
							
							
							
							ProactorDatagramTransportTests tests are too close to the
implementation. 
							
						 
						
							2019-09-20 23:07:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								079931d122 
								
							 
						 
						
							
							
								
								bpo-34037: test_asyncio uses shutdown_default_executor() (GH-16284)  
							
							
							
						 
						
							2019-09-19 16:45:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zackery Spytz 
								
							 
						 
						
							
							
							
							
								
							
							
								81319a81b2 
								
							 
						 
						
							
							
								
								bpo-37199: Replace the early returns added in  c2cda63. (GH-14535)  
							
							
							
						 
						
							2019-09-13 16:53:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9eb35ab0d7 
								
							 
						 
						
							
							
								
								bpo-38148: Add slots to asyncio transports (GH-16077)  
							
							... 
							
							
							
							* 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> 
							
						 
						
							2019-09-13 15:18:46 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a488879cba 
								
							 
						 
						
							
							
								
								bpo-36373: Deprecate explicit loop in task and subprocess API (GH-16033)  
							
							
							
						 
						
							2019-09-12 15:40:40 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9aee90018a 
								
							 
						 
						
							
							
								
								bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928)  
							
							
							
						 
						
							2019-09-11 16:07:37 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								7264e92b71 
								
							 
						 
						
							
							
								
								bpo-36373: Fix deprecation warnings (GH-15889)  
							
							... 
							
							
							
							https://bugs.python.org/issue36373  
						
							2019-09-11 01:20:24 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								12c122ae95 
								
							 
						 
						
							
							
								
								bpo-38066: Hide internal Stream methods (GH-15762)  
							
							... 
							
							
							
							feed_eof(), feed_data(), set_exception(), and set_transport() are prefixed with underscore now.
https://bugs.python.org/issue38066  
							
						 
						
							2019-09-10 05:56:14 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emmanuel Arias 
								
							 
						 
						
							
							
							
							
								
							
							
								537877d85d 
								
							 
						 
						
							
							
								
								bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [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  
							
						 
						
							2019-09-10 03:55:07 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5eca7f3f38 
								
							 
						 
						
							
							
								
								bpo-15999: Always pass bool instead of int to socket.setblocking(). (GH-15621)  
							
							
							
						 
						
							2019-09-01 12:12:52 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1c06009986 
								
							 
						 
						
							
							
								
								bpo-34679: Restore instantiation Windows IOCP event loop from non-main thread ( #15492 )  
							
							... 
							
							
							
							* Restore running proactor event loop from non-main thread
Co-Authored-By: Kyle Stanley <aeros167@gmail.com> 
							
						 
						
							2019-08-26 12:51:08 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								662db125cd 
								
							 
						 
						
							
							
								
								bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)  
							
							... 
							
							
							
							They now return NotImplemented for unsupported type of the other operand. 
							
						 
						
							2019-08-08 08:42:54 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8f4ef3b019 
								
							 
						 
						
							
							
								
								Remove unused imports in tests (GH-14518)  
							
							
							
						 
						
							2019-07-01 18:28:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zackery Spytz 
								
							 
						 
						
							
							
							
							
								
							
							
								c2cda638d6 
								
							 
						 
						
							
							
								
								bpo-37199: Fix test failures when IPv6 is unavailable or disabled ( #14480 )  
							
							
							
						 
						
							2019-06-30 18:24:43 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0d671c04c3 
								
							 
						 
						
							
							
								
								bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread  (GH-14344)  
							
							
							
						 
						
							2019-06-30 12:54:59 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								97d15b1ee0 
								
							 
						 
						
							
							
								
								Replace deprecation warning with RuntimeError (GH-14397)  
							
							
							
						 
						
							2019-06-27 14:38:47 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								549f7d45c8 
								
							 
						 
						
							
							
								
								Get rid of exception traceback printing in asyncio tests (GH-14343)  
							
							
							
						 
						
							2019-06-24 19:47:28 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Xtreak 
								
							 
						 
						
							
							
							
							
								
							
							
								186f70905d 
								
							 
						 
						
							
							
								
								bpo-37323: Suppress DeprecationWarning raised by @asyncio.coroutine (GH-14293)  
							
							... 
							
							
							
							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  
							
						 
						
							2019-06-22 03:25:25 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a514f782b8 
								
							 
						 
						
							
							
								
								bpo-35031: also disable TLS 1.3 for test_start_tls_server_1 on macOS (GH-14188)  
							
							
							
						 
						
							2019-06-18 04:37:13 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c034b7824f 
								
							 
						 
						
							
							
								
								bpo-35031, test_asycio: disable TLS 1.3 in test_start_tls_server_1() (GH-14148)  
							
							... 
							
							
							
							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. 
							
						 
						
							2019-06-17 11:47:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ef2152354f 
								
							 
						 
						
							
							
								
								bpo-37279: Fix asyncio sendfile support when  extra data are sent in fallback mode. (GH-14075)  
							
							
							
						 
						
							2019-06-15 14:05:08 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								f0749da9a5 
								
							 
						 
						
							
							
								
								bpo-35998: Avoid TimeoutError in test_asyncio: test_start_tls_server_1() (GH-14080)  
							
							
							
						 
						
							2019-06-14 17:26:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								07559450b2 
								
							 
						 
						
							
							
								
								bpo-37278: Fix test_asyncio ProactorLoopCtrlC (GH-14074)  
							
							... 
							
							
							
							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. 
							
						 
						
							2019-06-14 13:02:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0d1942774a 
								
							 
						 
						
							
							
								
								Make asyncio stream sendfile fail on error (was hang) (GH-14025)  
							
							
							
						 
						
							2019-06-12 21:50:23 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael Felt 
								
							 
						 
						
							
							
							
							
								
							
							
								32dda263e4 
								
							 
						 
						
							
							
								
								bpo-35545: Skip test_asyncio.test_create_connection_ipv6_scope on AIX (GH-14011)  
							
							... 
							
							
							
							because "getaddrinfo()" behaves different on AIX
https://bugs.python.org/issue35545  
							
						 
						
							2019-06-12 05:00:56 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								8d561092d5 
								
							 
						 
						
							
							
								
								bpo-37142: Make asyncio stream tests more robust again (GH-13804)  
							
							... 
							
							
							
							Make test_stream_server_close() implementation following test_stream_server_abort().
 Add explicit timeout for tests that can hang. 
							
						 
						
							2019-06-04 15:44:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								35890abb8d 
								
							 
						 
						
							
							
								
								Make StreamServer.close() tests more robust (GH-13790)  
							
							
							
						 
						
							2019-06-04 13:37:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4cdbc452ce 
								
							 
						 
						
							
							
								
								bpo-37148: Fix asyncio test that check for warning when running the test suite with huntleaks (GH-13800)  
							
							
							
						 
						
							2019-06-04 11:26:20 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								9535aff942 
								
							 
						 
						
							
							
								
								Revert "bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread ( #13630 )" (GH-13793)  
							
							... 
							
							
							
							https://bugs.python.org/issue35621  
						
							2019-06-03 17:09:19 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								49a7e34797 
								
							 
						 
						
							
							
								
								bpo-37137: Fix test_asyncio: use TestCase.set_event_loop() (GH-13779)  
							
							... 
							
							
							
							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. 
							
						 
						
							2019-06-03 17:49:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								c6789d6c85 
								
							 
						 
						
							
							
								
								bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher (GH-13754)  
							
							... 
							
							
							
							https://bugs.python.org/issue35621  
						
							2019-06-02 15:45:54 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								13ed07998a 
								
							 
						 
						
							
							
								
								bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread ( #13630 )  
							
							
							
						 
						
							2019-06-02 13:56:38 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alex Grönholm 
								
							 
						 
						
							
							
							
							
								
							
							
								98ef92002e 
								
							 
						 
						
							
							
								
								bpo-36999: Add asyncio.Task.get_coro() (GH-13680)  
							
							... 
							
							
							
							https://bugs.python.org/issue36999  
						
							2019-05-30 08:30:09 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Xtreak 
								
							 
						 
						
							
							
							
							
								
							
							
								0f39c2b191 
								
							 
						 
						
							
							
								
								bpo-37015: Ensure tasks created by _accept_connection2 due to AsyncMock are completed (GH-13661)  
							
							... 
							
							
							
							From 3.8 async functions used with mock.patch return an `AsyncMock`. `_accept_connection2` is an async function where create_task is also mocked. Don't mock `create_task` so that tasks are created out of coroutine returned by `AsyncMock` and the tasks are completed.
https://bugs.python.org/issue37015  
							
						 
						
							2019-05-30 03:00:29 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									依云 
								
							 
						 
						
							
							
							
							
								
							
							
								744c08a9c7 
								
							 
						 
						
							
							
								
								bpo-35246: fix support for path-like args in asyncio subprocess (GH-13628)  
							
							... 
							
							
							
							Drop isinstance checks from create_subprocess_exec function and let
subprocess module do them.
https://bugs.python.org/issue35246 
https://bugs.python.org/issue35246  
							
						 
						
							2019-05-28 23:50:59 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								bafd4b5ac8 
								
							 
						 
						
							
							
								
								bpo-29883: Asyncio proactor udp (GH-13440)  
							
							... 
							
							
							
							Follow-up for #1067 
https://bugs.python.org/issue29883  
							
						 
						
							2019-05-28 02:52:15 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sbstp 
								
							 
						 
						
							
							
							
							
								
							
							
								f0d4c64019 
								
							 
						 
						
							
							
								
								bpo-36686: Improve the documentation of the std* params in loop.subprocess_exec (GH-13586)  
							
							... 
							
							
							
							https://bugs.python.org/issue36686  
						
							2019-05-27 16:51:19 -07:00