Uh oh!
There was an error while loading. Please reload this page.
GH-115816: Assorted naming and formatting changes to improve maintainability. - #115987
Merged
Conversation
markshannon
requested review from
Fidget-Spinner and gvanrossum
as code ownersFebruary 27, 2024 11:54
Fidget-Spinner
approved these changes
Feb 27, 2024
| /* Symbols */ | ||
| struct _Py_UOpsSymType { | ||
| struct _Py_UopsSymbol { |
Member
There was a problem hiding this comment.
Whoops, the new name uses the incorrect capitalization, Uops, instead of UOps.
woodruffw pushed a commit
to woodruffw-forks/cpython
that referenced
this pull request
Mar 4, 2024
…intainability. (pythonGH-115987) * Rename _Py_UOpsAbstractInterpContext to _Py_UOpsContext and _Py_UOpsSymType to _Py_UopsSymbol. * #define shortened form of _Py_uop_... names for improved readability.
woodruffw pushed a commit
to woodruffw-forks/cpython
that referenced
this pull request
Mar 4, 2024
…op prefix (python#116077) This was left behind by pythonGH-115987. Basically a lot of diffs like this: ``` - res = _Py_uop_sym_new_unknown(ctx); + res = sym_new_unknown(ctx); ```
adorilson pushed a commit
to adorilson/cpython
that referenced
this pull request
Mar 25, 2024
…intainability. (pythonGH-115987) * Rename _Py_UOpsAbstractInterpContext to _Py_UOpsContext and _Py_UOpsSymType to _Py_UopsSymbol. * #define shortened form of _Py_uop_... names for improved readability.
adorilson pushed a commit
to adorilson/cpython
that referenced
this pull request
Mar 25, 2024
…op prefix (python#116077) This was left behind by pythonGH-115987. Basically a lot of diffs like this: ``` - res = _Py_uop_sym_new_unknown(ctx); + res = sym_new_unknown(ctx); ```
diegorusso pushed a commit
to diegorusso/cpython
that referenced
this pull request
Apr 17, 2024
…intainability. (pythonGH-115987) * Rename _Py_UOpsAbstractInterpContext to _Py_UOpsContext and _Py_UOpsSymType to _Py_UopsSymbol. * #define shortened form of _Py_uop_... names for improved readability.
diegorusso pushed a commit
to diegorusso/cpython
that referenced
this pull request
Apr 17, 2024
…op prefix (python#116077) This was left behind by pythonGH-115987. Basically a lot of diffs like this: ``` - res = _Py_uop_sym_new_unknown(ctx); + res = sym_new_unknown(ctx); ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows suggestions by @gvanrossum on #115953.
_Py_UOpsSymTypeto_Py_UopsSymboland_Py_UOpsAbstractInterpContextto_Py_UOpsContextsym...as_Py_uop_sym_...so we can use the short form in optimizer_bytecodes.c, improving readability.bottomtocontradiction.