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


Ignore:
Timestamp:
12/16/2011 02:08:18 PM (8 years ago)
Author:
Vinay Sajip
Comment:

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