#26083: __eq__, __hash__ and Python 3 -------------------------------------+------------------------------------- Reporter: atombrella | Owner: nobody Type: | Status: new Cleanup/optimization | Component: Core (Other) | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by timgraham):
* needs_better_patch: => 0 * needs_tests: => 0 * needs_docs: => 0 Old description: > 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 New description: 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` -- Comment: Can you point to where the errors are coming from? I'm not aware of any deprecation warnings when running Django's test suite. -- Ticket URL: <https://code.djangoproject.com/ticket/26083#comment:1> 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/068.0d70a5203007d64c8bc3ed8c1ffcbdb2%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.