]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-115816: Assorted naming and formatting changes to improve maintainability. (GH...
authorMark Shannon <mark@hotpy.org>
Tue, 27 Feb 2024 13:25:02 +0000 (13:25 +0000)
committerGitHub <noreply@github.com>
Tue, 27 Feb 2024 13:25:02 +0000 (13:25 +0000)
commit6ecfcfe8946cf701c6c7018e30ae54d8b7a7ac2a
tree866ef77e88de4f69c85fda6d61a43bc17f1ccd2f
parent10fbcd6c5dc25bfe14e02fd93ef93498a393860c
GH-115816: Assorted naming and formatting changes to improve maintainability. (GH-115987)

* Rename _Py_UOpsAbstractInterpContext to _Py_UOpsContext and _Py_UOpsSymType to _Py_UopsSymbol.

* #define shortened form of _Py_uop_... names for improved readability.
Include/internal/pycore_optimizer.h
Lib/test/test_generated_cases.py
Modules/_testinternalcapi.c
Python/optimizer_analysis.c
Python/optimizer_bytecodes.c
Python/optimizer_cases.c.h
Python/optimizer_symbols.c
Tools/cases_generator/optimizer_generator.py