[issue2152] make sqlite.Row hashable correctly

Thomas Heller report at bugs.python.org
Mon Mar 31 20:21:43 CEST 2008


Thomas Heller <theller at ctypes.org> added the comment:

Here's a patch against trunk that implements tp_richcompare.  It does
apply to and work also in the py3k branch.

I have only implemented the '__eq__' and '__ne__' comparisons.

Added file: http://bugs.python.org/file9913/sqliterow-richcmp.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2152>
__________________________________


More information about the Python-bugs-list mailing list