Changes between Version 1 and Version 2 of Ticket #17258, comment 21


Ignore:
Timestamp:
Dec 16, 2011, 2:08:18 PM (13 years ago)
Author:
Vinay Sajip

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17258, comment 21

    v1 v2  
    1 This change leads to a failure under Python 3.x because the SQLite `DatabaseWrapper` is no longer hashable. I noticed that the `BaseDatabaseWrapper` defines __eq__ but not __hash__ - does this not prevent its instances from being keys in dictionaries / members of sets?
     1This change leads to a failure under Python 3.x because the SQLite `DatabaseWrapper` is no longer hashable. I noticed that the `BaseDatabaseWrapper` defines `__eq__` but not `__hash__` - does this not prevent its instances from being keys in dictionaries / members of sets?
Back to Top