Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.5k
bpo-43475: Fix worst case collision behavior for NaN instances#25493
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bedevere-bot commentedApr 21, 2021
🤖 New build scheduled with the buildbot fleet by@rhettinger for commit056a4f7 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
bedevere-bot commentedApr 21, 2021
🤖 New build scheduled with the buildbot fleet by@rhettinger for commit9f3f9e9 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
realead commentedJun 10, 2021
Is my understanding right, that this PR would break the following code: I.e. when somebody tries to wrap Float and change With this PR, the chances are high, that the result will be Until now, it was clear - don't put nans into set/dict because the default "="-relation for floats isn't an equivalence relation. People worked around this by redefining the "="-relation and didn't so for hash function because until now "a,b - nans => hash(a)=hash(b)" was given. I think the intuitive behavior for |
Uh oh!
There was an error while loading.Please reload this page.
https://bugs.python.org/issue43475