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

gh-112125: Fix None.__ne__(None) returning NotImplemented instead of False#112504

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
vstinner merged 1 commit intopython:mainfromandrewluotechnologies:andrew
Dec 7, 2023

Conversation

@andrewluotechnologies
Copy link
Contributor

@andrewluotechnologiesandrewluotechnologies commentedNov 28, 2023
edited
Loading

I tested this fix on Windows 11 with VS2022. Compiled and ranNone.__ne__(None) before and after my changes. Result before:NotImplemented, after:False

Note: this is my first pull request/contributing and this code wasn't my original idea - thanks to@rhettinger for suggesting the route to fix this. I only implemented the code.

@ghost
Copy link

ghost commentedNov 28, 2023
edited by ghost
Loading

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app
Copy link

Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply theskip news label instead.

@bedevere-app
Copy link

Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply theskip news label instead.

@bedevere-app
Copy link

Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply theskip news label instead.

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

Would you mind to add a test and add a Changelog (NEWS) entry? Seehttps://devguide.python.org/ on how to add a Changelog entry.

Eclips4 reacted with thumbs up emoji
@miss-islington-app
Copy link

Thanks@andrewluotechnologies for the PR, and@vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry,@andrewluotechnologies and@vstinner, I could not cleanly backport this to3.12 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 9c3458e05865093dd55d7608810a9d0ef0765978 3.12

@bedevere-app
Copy link

GH-112827 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelDec 7, 2023
@vstinner
Copy link
Member

Merged, thank you. I backported the change manually to 3.12 to fix a merge conflict.

vstinner added a commit that referenced this pull requestDec 7, 2023
…ead of … (#112827)gh-112125: Fix None.__ne__(None) returning NotImplemented instead of False (#112504)(cherry picked from commit9c3458e)Co-authored-by: andrewluotechnologies <44252973+andrewluotechnologies@users.noreply.github.com>
aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

@rhettingerrhettingerAwaiting requested review from rhettinger

@Eclips4Eclips4Awaiting requested review from Eclips4

@vstinnervstinnerAwaiting requested review from vstinner

Assignees

@vstinnervstinner

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@andrewluotechnologies@vstinner@Eclips4@Yhg1s

[8]ページ先頭

©2009-2025 Movatter.jp