Changes between Version 1 and Version 2 of Ticket #27309
- Timestamp:
- 10/04/16 00:10:15 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27309
-
Property
Summary
changed from
Missing Hash function in CallableBool
toAdd CallableBool.__hash__()
- Property Has patch set
-
Property
Triage Stage
changed from
Unreviewed
toReady for checkin
-
Property
Summary
changed from
-
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:1 As [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: 2 2 3 3 {{{ … … 8 8 }}} 9 9 10 Adding a hash functionsolves this problem:10 Adding a hash method solves this problem: 11 11 12 12 {{{