mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix call to os.waitpid, it does not take keyword args.
This commit is contained in:
		
							parent
							
								
									a18736b5d2
								
							
						
					
					
						commit
						c9332fada6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -487,7 +487,7 @@ def collect_children(self): | ||||||
|             # libraries that expect to be able to wait for their own |             # libraries that expect to be able to wait for their own | ||||||
|             # children. |             # children. | ||||||
|             try: |             try: | ||||||
|                 pid, status = os.waitpid(0, options=0) |                 pid, status = os.waitpid(0, 0) | ||||||
|             except os.error: |             except os.error: | ||||||
|                 pid = None |                 pid = None | ||||||
|             if pid not in self.active_children: continue |             if pid not in self.active_children: continue | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Neil Schemenauer
						Neil Schemenauer