Skip to content

gh-83004: Harden winsound init - #103385

Merged
erlend-aasland merged 3 commits into
python:mainfrom
erlend-aasland:cleanup-winsound
Apr 9, 2023
Merged

gh-83004: Harden winsound init#103385
erlend-aasland merged 3 commits into
python:mainfrom
erlend-aasland:cleanup-winsound

Conversation

@erlend-aasland

@erlend-aaslanderlend-aasland commented Apr 8, 2023

Copy link
Copy Markdown
Contributor

@hauntsaninjahauntsaninja left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice cleanup! Should we decref module in the error case?

Comment threadPC/winsound.c
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@erlend-aasland

erlend-aasland commented Apr 9, 2023

Copy link
Copy Markdown
ContributorAuthor

Thanks for the review, Kumar & Shantanu!

@erlend-aasland
erlend-aasland merged commit 6d97e52 into python:mainApr 9, 2023
@erlend-aasland
erlend-aasland deleted the cleanup-winsound branch April 9, 2023 20:00
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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@erlend-aasland@hauntsaninja@kumaraditya303@bedevere-bot