mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	[3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimizer_Optimize errors (GH-123759)
(cherry picked from commit 1fbc118c5d)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
			
			
This commit is contained in:
		
							parent
							
								
									d053204b73
								
							
						
					
					
						commit
						eac2fdacfb
					
				
					 3 changed files with 1 additions and 4 deletions
				
			
		
							
								
								
									
										2
									
								
								Python/executor_cases.c.h
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								Python/executor_cases.c.h
									
										
									
										generated
									
									
									
								
							| 
						 | 
				
			
			@ -4390,8 +4390,6 @@
 | 
			
		|||
                if (optimized <= 0) {
 | 
			
		||||
                    exit->temperature = restart_backoff_counter(exit->temperature);
 | 
			
		||||
                    if (optimized < 0) {
 | 
			
		||||
                        Py_DECREF(current_executor);
 | 
			
		||||
                        tstate->previous_executor = Py_None;
 | 
			
		||||
                        GOTO_UNWIND();
 | 
			
		||||
                    }
 | 
			
		||||
                    GOTO_TIER_ONE(target);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue