-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
gh-83004: Harden winreg init #103386
Conversation
erlend-aasland
commented
Apr 8, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: Improve stdlib module initialization error handling. #83004
2c298f2
to
e664a52
Compare
@zooba, I'm landing this later tonight. |
@@ -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 |
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.
Should we undef the ADD_KEY
here also?
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.
Yes ideally, but not worth a separate PR, IMO.
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.
Trying to merge this to #103250 , I'll add it is this PR.