#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 -------------------------------------+-------------------------------------
Comment (by atombrella): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/db/__init__.py:29: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class DefaultConnectionProxy(object): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/core/validators.py:31: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class RegexValidator(object): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/core/validators.py:151: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class EmailValidator(object): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/core/validators.py:289: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class BaseValidator(object): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/core/validators.py:352: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class DecimalValidator(object): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/core/checks/messages.py:15: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class CheckMessage(object): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/core/cache/__init__.py:90: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class DefaultCacheProxy(object): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/db/models/sql/datastructures.py:28: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class Join(object): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/template/context.py:32: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class BaseContext(object): /home/mads/djangorestframework/local/lib/python2.7/site- packages/django/template/base.py:138: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x class Origin(object): -- Ticket URL: <https://code.djangoproject.com/ticket/26083#comment:2> 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.27c76b95f6d5e8a85ba1600da7739b90%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.