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
bpo-39530: Fix misleading statement about mixed-type numeric comparisons #18615
bpo-39530: Fix misleading statement about mixed-type numeric comparisons #18615
Conversation
Agreed; I'd be happy to see a rewording of the entire paragraph, but that's lower priority than fixing the incorrect information. |
|
Thanks @mdickinson for the PR |
|
GH-18736 is a backport of this pull request to the 3.8 branch. |
|
GH-18737 is a backport of this pull request to the 3.7 branch. |
|
Thanks @mdickinson for the PR |
|
GH-18773 is a backport of this pull request to the 3.8 branch. |


There's a misleading statement in the documentation that suggests that (for example) an integer-to-float comparison is performed by first converting the integer to a float and then comparing the floats. This PR fixes that statement.
https://bugs.python.org/issue39530