Changes between Version 1 and Version 2 of Ticket #27309
- Timestamp:
- Oct 3, 2016, 7:10:15 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27309
- Property Has patch set
- Property Triage Stage Unreviewed → Ready for checkin
- Property Summary Missing Hash function in CallableBool → Add 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: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 {{{