Author Roy Williams
Recipients Roy Williams
Date 2016-09-23.23:23:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm finding the -3 flag to be super useful at identifying problems with code when porting to Python 3.  One of the most common failures, however, is "DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x".  While implementing __eq__ without implementing __hash__ is very much an anti-pattern, this warning would be much less noisy if it could be thrown at time of access (like the __getslice__ warning) instead of time of declaration. 

See Also:
Date User Action Args
2016-09-23 23:23:01Roy Williamssetrecipients: + Roy Williams
2016-09-23 23:23:01Roy Williamssetmessageid: <>
2016-09-23 23:23:01Roy Williamslinkissue28263 messages
2016-09-23 23:23:00Roy Williamscreate