New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix typos in variable names, function names, and comments #101868
Conversation
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few "real" changes exist here, so pinging experts directly to get them explicitly verified.
@@ -1490,7 +1490,7 @@ def packageFromRecipe(targetDir, recipe): | |||
IFPkgFlagRelocatable=False, | |||
IFPkgFlagRestartAction="NoRestart", | |||
IFPkgFlagRootVolumeOnly=True, | |||
IFPkgFlagUpdateInstalledLangauges=False, | |||
IFPkgFlagUpdateInstalledLanguages=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@python/macos-team Looks like a potentially impactful change here. Can you review?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a bug fix to me. If someone could demonstrate undesired behavior caused by this typo, it would warrant a bug report and a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FTR, Ned responded here: #101868 (review)
@@ -522,7 +522,7 @@ def gcc_get_limited_api_macros(headers): | |||
|
|||
api_hexversion = sys.version_info.major << 24 | sys.version_info.minor << 16 | |||
|
|||
preprocesor_output_with_macros = subprocess.check_output( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure who the current maintainer here would be (@encukou?) but someone should check that all references have been handled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, me. I won't get to reviewing a typo in an internal variable name any time soon though. Generally we avoid such cosmetic changes, anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That particular typo in Mac/BuildScript/build-installer.py is in a data structure that is no longer used in installer builds and will eventually be removed. For simplicity, I would just ignore it.
Can this PR be merged? |
Not yet, there's still some open questions. |
Oleg, please check all conversations and posts on the issue before adding adding comments like this. As the devguide says, please be patient. I know you only want to help, but comments like this can end up being more noise than help (and this PR is already balancing on the edge wrt. churn vs. real issues). It's easy to see, for example, that Ned's remark has not been addressed yet (read the post, check the diff). Petr's comment hints of a -1 for that particular change, so IMO the PR author should avoid that too. (Hope this did not come out too harsh.) |
Also, only straight-forward documentation fixes generally get the skip issue label. Renaming a variable or a function can potentially be a breaking change, so personally I would not apply the skip issue label to such a PR. FWIW. |
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
All these changes LGTM. Changing comments, names of local variables and internal functions in internal modules is pretty safe. The only change that can potentially have effect is the change in |
No description provided.