This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Claudiu.Popa, CuriousLearner, belopolsky, berker.peksag, eric.araujo, ncoghlan, rhettinger
Date 2019-08-10.02:36:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Usually, setting hash to None is the proper way to turn-off hashability.  And it's possible that existing code has subclassed Number and provided other methods but not __hash__, so this could potentially break their code.  On the other hand, it would be desirable to prevent instantiation, perhaps using some other mechanism would be better.  I'll take a deeper look at this when I get a chance.
Date User Action Args
2019-08-10 02:36:54rhettingersetrecipients: + rhettinger, ncoghlan, belopolsky, eric.araujo, Claudiu.Popa, berker.peksag, CuriousLearner
2019-08-10 02:36:54rhettingersetmessageid: <>
2019-08-10 02:36:54rhettingerlinkissue16837 messages
2019-08-10 02:36:54rhettingercreate