Skip to content
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

gh-83004: Harden winreg init #103386

Merged
merged 1 commit into from
Apr 10, 2023
Merged

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Apr 8, 2023

@erlend-aasland erlend-aasland marked this pull request as ready for review April 8, 2023 23:02
@erlend-aasland erlend-aasland requested a review from a team as a code owner April 8, 2023 23:02
@erlend-aasland erlend-aasland requested a review from zooba April 8, 2023 23:02
@erlend-aasland
Copy link
Contributor Author

@zooba, I'm landing this later tonight.

@erlend-aasland erlend-aasland merged commit 5ed2f19 into python:main Apr 10, 2023
@erlend-aasland erlend-aasland deleted the cleanup-winreg branch April 10, 2023 20:58
@@ -2170,7 +2172,14 @@ PyMODINIT_FUNC PyInit_winreg(void)
ADD_INT(REG_RESOURCE_LIST);
ADD_INT(REG_FULL_RESOURCE_DESCRIPTOR);
ADD_INT(REG_RESOURCE_REQUIREMENTS_LIST);

#undef ADD_INT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we undef the ADD_KEY here also?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes ideally, but not worth a separate PR, IMO.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to merge this to #103250 , I'll add it is this PR.

warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants