mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	asyncio: Fix _make_subprocess_transport(): pass extra value to the constructor.
This commit is contained in:
		
							parent
							
								
									48c66c3dd8
								
							
						
					
					
						commit
						73f10fd2f1
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -159,7 +159,7 @@ def _make_subprocess_transport(self, protocol, args, shell,
 | 
				
			||||||
        with events.get_child_watcher() as watcher:
 | 
					        with events.get_child_watcher() as watcher:
 | 
				
			||||||
            transp = _UnixSubprocessTransport(self, protocol, args, shell,
 | 
					            transp = _UnixSubprocessTransport(self, protocol, args, shell,
 | 
				
			||||||
                                              stdin, stdout, stderr, bufsize,
 | 
					                                              stdin, stdout, stderr, bufsize,
 | 
				
			||||||
                                              extra=None, **kwargs)
 | 
					                                              extra=extra, **kwargs)
 | 
				
			||||||
            yield from transp._post_init()
 | 
					            yield from transp._post_init()
 | 
				
			||||||
            watcher.add_child_handler(transp.get_pid(),
 | 
					            watcher.add_child_handler(transp.get_pid(),
 | 
				
			||||||
                                      self._child_watcher_callback, transp)
 | 
					                                      self._child_watcher_callback, transp)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -174,7 +174,7 @@ def _make_subprocess_transport(self, protocol, args, shell,
 | 
				
			||||||
                                   extra=None, **kwargs):
 | 
					                                   extra=None, **kwargs):
 | 
				
			||||||
        transp = _WindowsSubprocessTransport(self, protocol, args, shell,
 | 
					        transp = _WindowsSubprocessTransport(self, protocol, args, shell,
 | 
				
			||||||
                                             stdin, stdout, stderr, bufsize,
 | 
					                                             stdin, stdout, stderr, bufsize,
 | 
				
			||||||
                                             extra=None, **kwargs)
 | 
					                                             extra=extra, **kwargs)
 | 
				
			||||||
        yield from transp._post_init()
 | 
					        yield from transp._post_init()
 | 
				
			||||||
        return transp
 | 
					        return transp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue