Skip to content

Fix None.__ne__ bug #5226

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 14, 2024
Merged

Fix None.__ne__ bug #5226

merged 3 commits into from
Apr 14, 2024

Conversation

moreal
Copy link
Contributor

@moreal moreal commented Apr 14, 2024

Description

This pull request is related with python/cpython#112125, #5103, #5124.

In Python 3.12, None.__ne__ behavior was changed but it was a bug. According to the GitHub issue, the bug was fixed in 3.12.1 version and deployed. When I run None.__ne__(None) in 3.12.2 CPython, it returns False.

Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

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

wow.. didn't know it was a bug.

@youknowone youknowone merged commit b1c3c9a into RustPython:main Apr 14, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants