Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								80b714835d 
								
							 
						 
						
							
							
								
								gh-87092: Expose assembler to unit tests ( #103988 )  
							
							
							
						 
						
							2023-05-01 22:29:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fbf3596c3e 
								
							 
						 
						
							
							
								
								gh-87092: change assembler to use instruction sequence instead of CFG ( #103933 )  
							
							
							
						 
						
							2023-04-29 12:06:04 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Carl Meyer 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0dc8b50d33 
								
							 
						 
						
							
							
								
								gh-87729: add LOAD_SUPER_ATTR instruction for faster super() ( #103497 )  
							
							... 
							
							
							
							This speeds up `super()` (by around 85%, for a simple one-level
`super().meth()` microbenchmark) by avoiding allocation of a new
single-use `super()` object on each use. 
							
						 
						
							2023-04-24 22:22:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Shantanu 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ae25855045 
								
							 
						 
						
							
							
								
								gh-103492: Clarify SyntaxWarning with literal comparison ( #103493 )  
							
							
							
						 
						
							2023-04-24 15:42:57 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1c01f8d797 
								
							 
						 
						
							
							
								
								gh-101517: fix line number propagation in code generated for except* ( #103550 )  
							
							
							
						 
						
							2023-04-24 21:58:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6751a4af95 
								
							 
						 
						
							
							
								
								gh-87092: fix a few cases of incorrect error handling in compiler ( #103456 )  
							
							... 
							
							
							
							gh-87092: fix a few cases of incorrect error handling 
							
						 
						
							2023-04-24 19:30:49 +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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9db2db4fa4 
								
							 
						 
						
							
							
								
								gh-87092: fix refleak in peepholer test harness ( #103448 )  
							
							
							
						 
						
							2023-04-11 21:08:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								33822d037a 
								
							 
						 
						
							
							
								
								gh-87092: move assembler related code from compile.c to assemble.c ( #103277 )  
							
							
							
						 
						
							2023-04-11 11:15:09 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								80163e17d3 
								
							 
						 
						
							
							
								
								gh-87092: move CFG related code from compile.c to flowgraph.c ( #103021 )  
							
							
							
						 
						
							2023-03-31 18:17:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0444ae2487 
								
							 
						 
						
							
							
								
								GH-100982: Break up COMPARE_AND_BRANCH (GH-102801)  
							
							
							
						 
						
							2023-03-23 15:25:09 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3468c768ce 
								
							 
						 
						
							
							
								
								gh-102859: Remove JUMP_IF_FALSE_OR_POP and JUMP_IF_TRUE_OR_POP ( #102870 )  
							
							
							
						 
						
							2023-03-22 18:10:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8d015fa000 
								
							 
						 
						
							
							
								
								gh-102860: improve performance of compiler's instr_sequence_to_cfg ( #102861 )  
							
							
							
						 
						
							2023-03-21 19:13:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								634cb61909 
								
							 
						 
						
							
							
								
								gh-87092: refactor assemble() to a number of separate functions, which do not need the compiler struct ( #102562 )  
							
							
							
						 
						
							2023-03-13 15:59:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								54060ae91d 
								
							 
						 
						
							
							
								
								gh-87092: compiler's CFG construction moved to after codegen stage ( #102320 )  
							
							
							
						 
						
							2023-03-07 18:16:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								71db5dbcd7 
								
							 
						 
						
							
							
								
								gh-102371: move _Py_Mangle from compile.c to symtable.c ( #102372 )  
							
							
							
						 
						
							2023-03-02 18:38:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4c87537efb 
								
							 
						 
						
							
							
								
								gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives (in Python/) ( #102193 )  
							
							
							
						 
						
							2023-02-28 11:50:52 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9f799ab020 
								
							 
						 
						
							
							
								
								gh-87092: Make jump target label equal to the offset of the target in the instructions sequence ( #102093 )  
							
							
							
						 
						
							2023-02-28 11:29:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Steve Dower 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a99eb5cd99 
								
							 
						 
						
							
							
								
								gh-101907: Stop using _Py_OPCODE and _Py_OPARG macros (GH-101912)  
							
							... 
							
							
							
							* gh-101907: Removes use of non-standard C++ extension from Include/cpython/code.h
* Make cases_generator correct on Windows 
							
						 
						
							2023-02-20 14:56:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									penguin_wwy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								df7ccf6138 
								
							 
						 
						
							
							
								
								gh-101928: fix crash in compiler on multi-line lambda in function call ( #101933 )  
							
							
							
						 
						
							2023-02-16 11:31:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								81e3aa835c 
								
							 
						 
						
							
							
								
								gh-101799: implement PREP_RERAISE_STAR as an intrinsic function ( #101800 )  
							
							
							
						 
						
							2023-02-14 11:54:13 +00: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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								65b7b6bd23 
								
							 
						 
						
							
							
								
								gh-98831: Use opcode metadata for stack_effect() ( #101704 )  
							
							... 
							
							
							
							* Write output and metadata in a single run
  This halves the time to run the cases generator
  (most of the time goes into parsing the input).
* Declare or define opcode metadata based on NEED_OPCODE_TABLES
* Use generated metadata for stack_effect()
* compile.o depends on opcode_metadata.h
* Return -1 from _PyOpcode_num_popped/pushed for unknown opcode 
							
						 
						
							2023-02-08 16:23:19 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									penguin_wwy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								753fc8a5d6 
								
							 
						 
						
							
							
								
								gh-101632: Add the new RETURN_CONST opcode ( #101633 )  
							
							
							
						 
						
							2023-02-07 22:32:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b91b42d236 
								
							 
						 
						
							
							
								
								gh-98831: rewrite PUSH_EXC_INFO and conditional jumps in the instruction definition DSL ( #101481 )  
							
							
							
						 
						
							2023-02-01 19:38:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								af7b2db384 
								
							 
						 
						
							
							
								
								gh-99955: use SUCCESS/ERROR return values in optimizer and assembler. Use RETURN_IF_ERROR where appropriate. Fix a couple of bugs. ( #101412 )  
							
							
							
						 
						
							2023-01-31 00:06:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dong-hee Na 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e867c1b753 
								
							 
						 
						
							
							
								
								gh-101400: Fix incorrect lineno in exception message on continue/break which are not in a loop ( #101413 )  
							
							
							
						 
						
							2023-01-30 23:33:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								19f90d6b97 
								
							 
						 
						
							
							
								
								gh-98831: add variable stack effect support to cases generator ( #101309 )  
							
							
							
						 
						
							2023-01-25 20:41:03 +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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ikko Eltociear Ashimine 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4510fbb216 
								
							 
						 
						
							
							
								
								Fix typo in comment in compile.c ( #101194 )  
							
							
							
						 
						
							2023-01-20 18:34:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9ec9b203ea 
								
							 
						 
						
							
							
								
								gh-101169: reduce the implementation of except* by one bytecode instruction ( #101170 )  
							
							
							
						 
						
							2023-01-19 23:30:49 +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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Carl Meyer 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7116030a25 
								
							 
						 
						
							
							
								
								gh-88696: clean up dead argument to compiler_make_closure (GH-100806)  
							
							
							
						 
						
							2023-01-07 12:20:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								78068126a1 
								
							 
						 
						
							
							
								
								GH-99005: More intrinsics (GH-100774)  
							
							... 
							
							
							
							* Remove UNARY_POSITIVE, LIST_TO_TUPLE and ASYNC_GEN_WRAP, replacing them with intrinsics. 
							
						 
						
							2023-01-06 14:47:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								14b7f00fdf 
								
							 
						 
						
							
							
								
								GH-98831: Update generate_cases.py: register inst, opcode_metadata.h ( #100735 )  
							
							... 
							
							
							
							(These aren't used yet, but may be coming soon,
and it's easier to keep this tool the same between branches.)
Added a sanity check for all this to compile.c.
Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> 
							
						 
						
							2023-01-05 13:01:07 -08: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 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								52017dbe16 
								
							 
						 
						
							
							
								
								gh-100747: some compiler macros use c instead of C to access the compiler ( #100748 )  
							
							
							
						 
						
							2023-01-04 20:19:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								15aecf8dd7 
								
							 
						 
						
							
							
								
								GH-100719: Remove the co_nplaincellvars field from code objects. (GH-100721)  
							
							
							
						 
						
							2023-01-04 15:41:39 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								09edde95f4 
								
							 
						 
						
							
							
								
								GH-99554: Trim trailing whitespace (GH-100435)  
							
							... 
							
							
							
							Automerge-Triggered-By: GH:brandtbucher 
							
						 
						
							2022-12-22 12:13:51 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3c033a2e6f 
								
							 
						 
						
							
							
								
								GH-99554: Pack location tables more effectively (GH-99556)  
							
							
							
						 
						
							2022-12-21 16:41:18 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6997e77bdf 
								
							 
						 
						
							
							
								
								GH-100222: Redefine _Py_CODEUNIT as a union to clarify structure of code unit. (GH-100223)  
							
							
							
						 
						
							2022-12-14 11:12:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								985a71032b 
								
							 
						 
						
							
							
								
								gh-99955: undef ERROR and SUCCESS before redefining (fixes sanitizer warning) ( #100215 )  
							
							
							
						 
						
							2022-12-13 13:55:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e4ea33b178 
								
							 
						 
						
							
							
								
								gh-99955: standardize return values of functions in compiler's code-gen ( #100010 )  
							
							
							
						 
						
							2022-12-12 14:22:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ab02262cd0 
								
							 
						 
						
							
							
								
								gh-99955: standardize return values of functions in assembler and optimizer. ( #99956 )  
							
							
							
						 
						
							2022-12-02 17:43:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								18a6967544 
								
							 
						 
						
							
							
								
								GH-99877)  
							
							
							
						 
						
							2022-11-30 16:16:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ac12e3941f 
								
							 
						 
						
							
							
								
								gh-87092: move all localsplus preparation into separate function called from assembler stage (GH-99869)  
							
							
							
						 
						
							2022-11-30 12:37:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ae185fdcca 
								
							 
						 
						
							
							
								
								gh-99708: fix bug where compiler crashes on if expression with an empty body block (GH-99732)  
							
							
							
						 
						
							2022-11-24 10:59:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								135ec7cefb 
								
							 
						 
						
							
							
								
								gh-99537: Use Py_SETREF() function in C code ( #99657 )  
							
							... 
							
							
							
							Fix potential race condition in code patterns:
* Replace "Py_DECREF(var); var = new;" with "Py_SETREF(var, new);"
* Replace "Py_XDECREF(var); var = new;" with "Py_XSETREF(var, new);"
* Replace "Py_CLEAR(var); var = new;" with "Py_XSETREF(var, new);"
Other changes:
* Replace "old = var; var = new; Py_DECREF(var)"
  with "Py_SETREF(var, new);"
* Replace "old = var; var = new; Py_XDECREF(var)"
  with "Py_XSETREF(var, new);"
* And remove the "old" variable. 
							
						 
						
							2022-11-22 13:39:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8211cf5d28 
								
							 
						 
						
							
							
								
								gh-99300: Replace Py_INCREF() with Py_NewRef() ( #99530 )  
							
							... 
							
							
							
							Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef()
and Py_XNewRef(). 
							
						 
						
							2022-11-16 18:34:24 +01:00