Author rp4fx12
Recipients rp4fx12
Date 2021-01-30.17:36:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612028172.34.0.735632313742.issue43078@roundup.psfhosted.org>
In-reply-to
Content
Hi,

I'm having a weird issue with floats in dictionaries and equality comparison (see attached screenshot for an example). When I create two dictionaries with a nan value they pass an equivalence test. However, if I pickle and unpickle one of the dictionaries they become no longer equivalent. I would expect that the behavior would be the same irrespective of whether they are pickled/unpickled. Is there something else I should be doing here or is there a way to easily resolve this (short of writing custom ways to compare equality)?
History
Date User Action Args
2021-01-30 17:36:12rp4fx12setrecipients: + rp4fx12
2021-01-30 17:36:12rp4fx12setmessageid: <1612028172.34.0.735632313742.issue43078@roundup.psfhosted.org>
2021-01-30 17:36:12rp4fx12linkissue43078 messages
2021-01-30 17:36:12rp4fx12create