#26083: __eq__, __hash__ and Python 3 --------------------------------------+-------------------- Reporter: atombrella | Owner: nobody Type: Cleanup/optimization | Status: new Component: Core (Other) | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+-------------------- I ran python -Werror runtests.py for DRF, and noticed quite a lot of warnings about __eq__ and __hash__, and then checked Django's repository.
DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x -- Ticket URL: <https://code.djangoproject.com/ticket/26083> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/053.823b99b66349bbc3094548647cb0194c%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.