Opened 9 years ago

Last modified 8 years ago

#26083 closed Cleanup/optimization

__eq__, __hash__ and Python 3 — at Initial Version

Reported by: Mads Jensen Owned by: nobody
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top