FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-152903: Change PCWSTR to PWSTR in GetThreadDescription() typedef by carlo-bramini · Pull Request #152904 · python/cpython · GitHub

Repository navigation

gh-152903: Change PCWSTR to PWSTR in GetThreadDescription() typedef - #152904

Merged
vstinner merged 1 commit into
python:mainfrom
carlo-bramini:fix-windows-bug-1
Jul 3, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
carlo-bramini:fix-windows-bug-1

Conversation

carlo-bramini commented Jul 2, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

StanFromIreland left a comment •
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This is also duplicated in:

typedef HRESULT (WINAPI *PF_SET_THREAD_DESCRIPTION)(HANDLE, PCWSTR);

I think we should merge these by putting them in an internal header, but maybe that's better left to a follow up. CC @vstinner

StanFromIreland requested a review from vstinner July 2, 2026 18:27

Copy link
Copy Markdown
Contributor Author

This is also duplicated in:

typedef HRESULT (WINAPI *PF_SET_THREAD_DESCRIPTION)(HANDLE, PCWSTR);

Thank you very much.
I updated the patch according to your report.

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. Thanks for the fix.

vstinner added skip news needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Jul 3, 2026

vstinner commented Jul 3, 2026

Copy link
Copy Markdown
Member

I think we should merge these by putting them in an internal header, but maybe that's better left to a follow up. CC @vstinner

I would prefer to not add it to an internal header file.

vstinner merged commit ac1acb6 into python:main Jul 3, 2026
61 checks passed

Copy link
Copy Markdown

Thanks @carlo-bramini for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

bedevere-app Bot commented Jul 3, 2026

Copy link
Copy Markdown

GH-152943 is a backport of this pull request to the 3.15 branch.

bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Jul 3, 2026

bedevere-app Bot commented Jul 3, 2026

Copy link
Copy Markdown

GH-152944 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 3, 2026
vstinner pushed a commit that referenced this pull request Jul 3, 2026
…pedef (GH-152904) (#152943)

gh-152903: Change PCWSTR to PWSTR in GetThreadDescription() typedef (GH-152904)

Fixes issue GH-152903
(cherry picked from commit ac1acb6)

Co-authored-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
carlo-bramini deleted the fix-windows-bug-1 branch July 5, 2026 14:50
vstinner pushed a commit that referenced this pull request Jul 26, 2026
…pedef (GH-152904) (#152944)

gh-152903: Change PCWSTR to PWSTR in GetThreadDescription() typedef (GH-152904)

Fixes issue GH-152903
(cherry picked from commit ac1acb6)

Co-authored-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL