Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Handle GetForegroundWindow() returning NULL.#28269

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
QuLogic merged 1 commit intomatplotlib:mainfromanntzer:gfw
May 21, 2024

Conversation

anntzer
Copy link
Contributor

@anntzeranntzer commentedMay 21, 2024
edited
Loading

GetForegroundWindow() is documented as sometimes returning NULL (https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getforegroundwindow), which is not a valid argument to PyCapsule_New. Use None to cover that case, instead.

Closes#28267 (in all likelihood...).

PR summary

PR checklist

GetForegroundWindow() is documented as sometimes returning NULL, whichis not a valid argument to PyCapsule_New.  Use None to cover that case,instead.
@tacaswelltacaswell added this to thev3.9.1 milestoneMay 21, 2024
@QuLogicQuLogic merged commit7157a19 intomatplotlib:mainMay 21, 2024
48 of 50 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestMay 21, 2024
@anntzeranntzer deleted the gfw branchMay 21, 2024 18:36
timhoffm added a commit that referenced this pull requestMay 21, 2024
…269-on-v3.9.xBackport PR#28269 on branch v3.9.x (Handle GetForegroundWindow() returning NULL.)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

@QuLogicQuLogicQuLogic approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.9.1
3 participants
@anntzer@tacaswell@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp