New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make sqlite.Row hashable correctly #46405
Comments
The attached patch implements hash and cmp for sqlite3.Row objects. |
Thomas, could you do me a favour and create a patch for Python 3.0, too? |
Here's a patch against trunk that implements tp_richcompare. It does I have only implemented the '__eq__' and '__ne__' comparisons. |
Thanks a lot! I will review and apply this after the next releases. |
I applied your second patch in r62701. Thanks again! |
Can this be closed? |
Yes, I was waiting till the merge to py3k was complete. It is now. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: