Skip to content

Conversation

@aisk
Copy link
Contributor

@aisk aisk commented Nov 4, 2025

@aisk aisk requested a review from a team as a code owner November 4, 2025 15:49
@aisk aisk changed the title Remove the wrong documents about comparison behavior on winreg.HKEYType [3.14] Remove the wrong documents about comparison behavior on winreg.HKEYType Nov 4, 2025
@aisk aisk changed the title [3.14] Remove the wrong documents about comparison behavior on winreg.HKEYType [3.14] gh-140826 Remove the wrong documents about comparison behavior on winreg.HKEYType Nov 4, 2025
@aisk aisk added skip news needs backport to 3.13 bugs and security fixes labels Nov 4, 2025
@aisk aisk requested a review from serhiy-storchaka November 4, 2025 15:52
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM. 👍

"Operations:\n"
"__bool__ - Handles with an open object return true, otherwise false.\n"
"__int__ - Converting a handle to an integer returns the Win32 handle.\n"
"rich comparison - Handle objects are compared using the handle value.");
Copy link
Member

Choose a reason for hiding this comment

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

We need to update this in main too. Maybe use __eq__?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, thank you for your review. The docstring for this module is missing a few other functions (the DeleteTree) as well, besides this one, I’ll make a PR to sync them all tomorrow.

@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) November 4, 2025 15:53
@serhiy-storchaka serhiy-storchaka merged commit c3f9702 into python:3.14 Nov 4, 2025
58 checks passed
@miss-islington-app
Copy link

Thanks @aisk for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 4, 2025
…havior on winreg.HKEYType (pythonGH-140999)

(cherry picked from commit c3f9702)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Nov 4, 2025

GH-141003 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Nov 4, 2025
serhiy-storchaka pushed a commit that referenced this pull request Nov 4, 2025
… on winreg.HKEYType (GH-140999) (GH-141003)

(cherry picked from commit c3f9702)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
@aisk aisk deleted the hkey-compare-doc-3.14 branch November 5, 2025 02:45
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.

2 participants