Changes between Initial Version and Version 1 of Ticket #17258, comment 21
- Timestamp:
- Dec 16, 2011, 2:07:51 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17258, comment 21
initial v1 1 This change leads to a failure under Python 3.x because the DatabaseWrapper is no longer hashable. I noticed that the BaseDatabaseWrapperdefines __eq__ but not __hash__ - does this not prevent its instances from being keys in dictionaries / members of sets?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?