mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	[3.9] bpo-45097: Remove incorrect deprecation warnings in asyncio. (GH-28153)
Deprecation warnings about the loop argument were incorrectly emitted in cases when the loop argument was used inside the asyncio library, not from user code.
This commit is contained in:
		
							parent
							
								
									ce83e42437
								
							
						
					
					
						commit
						c967bd523c
					
				
					 11 changed files with 234 additions and 181 deletions
				
			
		|  | @ -193,8 +193,8 @@ async def communicate(self, input=None): | |||
|             stderr = self._read_stream(2) | ||||
|         else: | ||||
|             stderr = self._noop() | ||||
|         stdin, stdout, stderr = await tasks.gather(stdin, stdout, stderr, | ||||
|                                                    loop=self._loop) | ||||
|         stdin, stdout, stderr = await tasks._gather(stdin, stdout, stderr, | ||||
|                                                     loop=self._loop) | ||||
|         await self.wait() | ||||
|         return (stdout, stderr) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka