Juhi Chandalia 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								86aa8a5e98 
								
							 
						 
						
							
							
								
								GH-103804: Add test for dis.findlinestarts ( #103806 )  
							
							
							
						 
						
							2023-04-25 22:23:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									chgnrdv 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2b6f5c3483 
								
							 
						 
						
							
							
								
								gh-102114: Make dis print more concise tracebacks for syntax errors in str inputs ( #102115 )  
							
							
							
						 
						
							2023-04-15 06:53:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								411b169281 
								
							 
						 
						
							
							
								
								GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython (GH-103083)  
							
							... 
							
							
							
							* The majority of the monitoring code is in instrumentation.c
* The new instrumentation bytecodes are in bytecodes.c
* legacy_tracing.c adapts the new API to the old sys.setrace and sys.setprofile APIs 
							
						 
						
							2023-04-12 12:04:55 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b4978ff872 
								
							 
						 
						
							
							
								
								GH-88691: Shrink the CALL caches (GH-103230)  
							
							
							
						 
						
							2023-04-05 14:15:49 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								121057aa36 
								
							 
						 
						
							
							
								
								GH-89987: Shrink the BINARY_SUBSCR caches (GH-103022)  
							
							
							
						 
						
							2023-03-29 15:53:30 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									gaogaotiantian 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								34eb6f7276 
								
							 
						 
						
							
							
								
								gh-103046: Display current line correctly for dis.disco() with CACHE entries ( #103047 )  
							
							
							
						 
						
							2023-03-27 23:22:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0444ae2487 
								
							 
						 
						
							
							
								
								GH-100982: Break up COMPARE_AND_BRANCH (GH-102801)  
							
							
							
						 
						
							2023-03-23 15:25:09 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e1e9bab006 
								
							 
						 
						
							
							
								
								gh-102778: Add sys.last_exc, deprecate sys.last_type, sys.last_value,sys.last_traceback ( #102779 )  
							
							
							
						 
						
							2023-03-18 11:47:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								08b67fb34f 
								
							 
						 
						
							
							
								
								GH-90997: Shrink the LOAD_GLOBAL caches ( #102569 )  
							
							
							
						 
						
							2023-03-10 17:01:16 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								160f2fe2b9 
								
							 
						 
						
							
							
								
								GH-87849: Simplify stack effect of SEND and specialize it for generators and coroutines. (GH-101788)  
							
							
							
						 
						
							2023-02-13 11:24:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									penguin_wwy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								753fc8a5d6 
								
							 
						 
						
							
							
								
								gh-101632: Add the new RETURN_CONST opcode ( #101633 )  
							
							
							
						 
						
							2023-02-07 22:32:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f02fa64bf2 
								
							 
						 
						
							
							
								
								GH-100762: Don't call gen.throw() in gen.close(), unless necessary. (GH-101013)  
							
							... 
							
							
							
							* Store exception stack depth in YIELD_VALUE's oparg and use it avoid expensive gen.throw() in gen.close() where possible. 
							
						 
						
							2023-01-24 17:25:37 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e9ccfe4a63 
								
							 
						 
						
							
							
								
								gh-100712: make it possible to disable specialization (for debugging) ( #100713 )  
							
							
							
						 
						
							2023-01-19 18:14:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7b14c2ef19 
								
							 
						 
						
							
							
								
								GH-100982: Add COMPARE_AND_BRANCH instruction (GH-100983)  
							
							
							
						 
						
							2023-01-16 12:35:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6e4e14d98f 
								
							 
						 
						
							
							
								
								GH-100923: Embed jump mask in COMPARE_OP oparg (GH-100924)  
							
							
							
						 
						
							2023-01-11 20:40:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								28187141cc 
								
							 
						 
						
							
							
								
								GH-99005: Add CALL_INTRINSIC_1 instruction (GH-100771)  
							
							... 
							
							
							
							* Remove PRINT_EXPR instruction
* Remove STOPITERATION_ERROR instruction
* Remove IMPORT_STAR instruction 
							
						 
						
							2023-01-05 16:05:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3dd6ee2c00 
								
							 
						 
						
							
							
								
								gh-99254: remove all unused consts from code objects (GH-99255)  
							
							
							
						 
						
							2022-11-11 10:53:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c7f5708714 
								
							 
						 
						
							
							
								
								GH-98686: Get rid of "adaptive" and "quick" instructions (GH-99182)  
							
							
							
						 
						
							2022-11-09 10:50:09 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f4adb97506 
								
							 
						 
						
							
							
								
								GH-96793: Implement PEP 479 in bytecode. (GH-99006)  
							
							... 
							
							
							
							* Handle converting StopIteration to RuntimeError in bytecode.
* Add custom instruction for converting StopIteration into RuntimeError. 
							
						 
						
							2022-11-03 11:38:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								276d77724f 
								
							 
						 
						
							
							
								
								GH-98686: Quicken everything (GH-98687)  
							
							
							
						 
						
							2022-11-02 10:42:57 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								22863df7ca 
								
							 
						 
						
							
							
								
								GH-96793: Change FOR_ITER to not pop the iterator on exhaustion. (GH-96801)  
							
							... 
							
							
							
							Change FOR_ITER to have the same stack effect regardless of whether it branches or not.
Performance is unchanged as FOR_ITER (and specialized forms jump over the cleanup code). 
							
						 
						
							2022-10-27 11:55:03 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								27ce45d8e1 
								
							 
						 
						
							
							
								
								gh-92886: make test_ast pass with -O (assertions off) (GH-98058)  
							
							... 
							
							
							
							-O does not strip docstrings.
Automerge-Triggered-By: GH:iritkatriel 
							
						 
						
							2022-10-07 16:30:23 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6d7a0e0dd7 
								
							 
						 
						
							
							
								
								gh-87092: reduce redundancy and repetition in compiler's optimization stage (GH-96713)  
							
							
							
						 
						
							2022-09-13 13:03:41 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4c72517cad 
								
							 
						 
						
							
							
								
								gh-93554: Conditional jump opcodes only jump forward (GH-96318)  
							
							
							
						 
						
							2022-09-01 21:36:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5bfb3c372b 
								
							 
						 
						
							
							
								
								GH-90997: Wrap yield from/await in a virtual try/except StopIteration (GH-96010)  
							
							
							
						 
						
							2022-08-19 12:33:44 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e402b26b7f 
								
							 
						 
						
							
							
								
								GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121)  
							
							
							
						 
						
							2022-07-22 11:04:20 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bde06e1b83 
								
							 
						 
						
							
							
								
								gh-92228: disable the compiler's 'small exit block inlining' optimization for blocks that have a line number (GH-94592)  
							
							... 
							
							
							
							Inlining of code that corresponds to source code lines, can make it hard to distinguish later between code which is only reachable from except handlers, and that which is reachable in normal control flow. This caused problems with the debugger's jump feature.
This PR turns off the inlining optimisation for code which has line numbers. We still inline things like the implicit "return None". 
							
						 
						
							2022-07-06 23:38:36 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								324d01944d 
								
							 
						 
						
							
							
								
								gh-94485: Set line number of module's RESUME instruction to 0, as specified by PEP 626 (GH-94552)  
							
							... 
							
							
							
							Co-authored-by: Mark Shannon <mark@hotpy.org> 
							
						 
						
							2022-07-05 14:38:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c57aad777a 
								
							 
						 
						
							
							
								
								gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241)  
							
							
							
						 
						
							2022-07-01 15:33:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dennis Sweeney 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5fcfdd87c9 
								
							 
						 
						
							
							
								
								GH-91432: Specialize FOR_ITER (GH-91713)  
							
							... 
							
							
							
							* Adds FOR_ITER_LIST and FOR_ITER_RANGE specializations.
* Adds _PyLong_AssignValue() internal function to avoid temporary boxing of ints. 
							
						 
						
							2022-06-21 11:19:26 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f8e576be0a 
								
							 
						 
						
							
							
								
								GH-91389: Fix dis position information for CACHEs (GH-93663)  
							
							
							
						 
						
							2022-06-16 13:49:32 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ken Jin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b083450f88 
								
							 
						 
						
							
							
								
								GH-93429: Merge LOAD_METHOD back into LOAD_ATTR (GH-93430)  
							
							
							
						 
						
							2022-06-14 11:36:22 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cf730b595e 
								
							 
						 
						
							
							
								
								GH-93621: reorder code in with/async-with exception exit path to reduce the size of the exception table (GH-93622)  
							
							
							
						 
						
							2022-06-10 17:53:34 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f012df706c 
								
							 
						 
						
							
							
								
								Shrink the LOAD_METHOD cache by one codeunit. ( #93537 )  
							
							
							
						 
						
							2022-06-07 10:28:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dong-hee Na 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b013804134 
								
							 
						 
						
							
							
								
								gh-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK (gh-92945)  
							
							
							
						 
						
							2022-06-03 11:29:27 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								94b1586ca5 
								
							 
						 
						
							
							
								
								gh-93356: Lay out exception handling code at end of code unit  (GH-92769)  
							
							
							
						 
						
							2022-06-02 14:13:43 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dennis Sweeney 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f425f3bb27 
								
							 
						 
						
							
							
								
								gh-93143: Avoid NULL check in LOAD_FAST based on analysis in the compiler (GH-93144)  
							
							
							
						 
						
							2022-05-31 16:32:30 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dennis Sweeney 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ddc4a782d3 
								
							 
						 
						
							
							
								
								gh-93223: More aggressive Jump-To-Jump elimination (GH-93229)  
							
							
							
						 
						
							2022-05-27 11:17:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e48ac9c100 
								
							 
						 
						
							
							
								
								GH-90690: Remove PRECALL instruction (GH-92925)  
							
							
							
						 
						
							2022-05-19 11:05:26 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7c6b7ade8d 
								
							 
						 
						
							
							
								
								gh-92619: Fix bug where the compiler duplicates exit blocks unnecessarily (GH-92620)  
							
							
							
						 
						
							2022-05-10 13:36:08 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								93a666b5a5 
								
							 
						 
						
							
							
								
								gh-90997: Show cached inline values in dis output  ( #92360 )  
							
							
							
						 
						
							2022-05-06 15:18:09 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								84b986ba10 
								
							 
						 
						
							
							
								
								gh-91276: revert the increase of dis output width (GH-92126)  
							
							
							
						 
						
							2022-05-02 16:51:17 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								944fffee89 
								
							 
						 
						
							
							
								
								GH-88116: Use a compact format to represent end line and column offsets. (GH-91666)  
							
							... 
							
							
							
							* Stores all location info in linetable to conform to PEP 626.
* Remove column table from code objects.
* Remove end-line table from code objects.
* Document new location table format 
							
						 
						
							2022-04-21 16:10:37 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									penguin_wwy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e590379197 
								
							 
						 
						
							
							
								
								gh-90997: bpo-46841: Disassembly of quickened code (GH-32099)  
							
							
							
						 
						
							2022-04-19 09:45:08 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e44f988b26 
								
							 
						 
						
							
							
								
								gh-91276: make space for longer opcodes in dis output (GH-91444)  
							
							
							
						 
						
							2022-04-12 14:35:56 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								dd207a6ac5 
								
							 
						 
						
							
							
								
								bpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400)  
							
							
							
						 
						
							2022-04-11 10:40:24 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0aa8d5cbd8 
								
							 
						 
						
							
							
								
								bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221)  
							
							
							
						 
						
							2022-04-05 12:49:08 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								04e07c258f 
								
							 
						 
						
							
							
								
								bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231)  
							
							
							
						 
						
							2022-04-01 13:59:38 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a00518d9ad 
								
							 
						 
						
							
							
								
								bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD (GH-32115)  
							
							
							
						 
						
							2022-03-31 14:14:15 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3011a097bd 
								
							 
						 
						
							
							
								
								Use low bit of LOAD_GLOBAL's oparg to indicate whether it should push an additional NULL. (GH-31933)  
							
							
							
						 
						
							2022-03-17 16:14:57 +00:00