mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	 b4903afd4d
			
		
	
	
		b4903afd4d
		
			
		
	
	
	
	
		
			
			Ths commit inlines calls to Python functions in the eval loop and steals all the arguments in the call from the caller for performance.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			159 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			159 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Sample script for use by test_gdb.py
 | |
| 
 | |
| def foo(a, b, c):
 | |
|     bar(a=a, b=b, c=c)
 | |
| 
 | |
| def bar(a, b, c):
 | |
|     baz(a, b, c)
 | |
| 
 | |
| def baz(*args):
 | |
|     id(42)
 | |
| 
 | |
| foo(1, 2, 3)
 |