mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	gh-129874: avoid mixing pure python and C impl in eager execution (#130515)
This commit is contained in:
		
							parent
							
								
									8a76eb8469
								
							
						
					
					
						commit
						38d45d23a6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -110,7 +110,7 @@ def __init__(self, coro, *, loop=None, name=None, context=None,
 | 
				
			||||||
            self.__eager_start()
 | 
					            self.__eager_start()
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            self._loop.call_soon(self.__step, context=self._context)
 | 
					            self._loop.call_soon(self.__step, context=self._context)
 | 
				
			||||||
            _register_task(self)
 | 
					            _py_register_task(self)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __del__(self):
 | 
					    def __del__(self):
 | 
				
			||||||
        if self._state == futures._PENDING and self._log_destroy_pending:
 | 
					        if self._state == futures._PENDING and self._log_destroy_pending:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue