Changes between Version 1 and Version 2 of Ticket #27309


Ignore:
Timestamp:
Oct 3, 2016, 7:10:15 PM (8 years ago)
Author:
Tim Graham
Comment:

It seems a bit odd to have such code, but I suppose it doesn't hurt.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27309

    • Property Has patch set
    • Property Triage Stage UnreviewedReady for checkin
    • Property Summary Missing Hash function in CallableBoolAdd CallableBool.__hash__()
  • Ticket #27309 – Description

    v1 v2  
    1 As [https://github.com/django/django/blob/b7fb608142a0be568bc5dce952de5e6aefc2488c/django/utils/deprecation.py#L87 CallableBool] has no hash function, membership test operations for sets do not work:
     1As [https://github.com/django/django/blob/b7fb608142a0be568bc5dce952de5e6aefc2488c/django/utils/deprecation.py#L87 CallableBool] has no hash method, membership test operations for sets do not work:
    22
    33{{{
     
    88}}}
    99
    10 Adding a hash function solves this problem:
     10Adding a hash method solves this problem:
    1111
    1212{{{
Back to Top