This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年02月21日 10:48 by theller, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| sqliterow.patch | theller, 2008年02月21日 10:48 | |||
| sqliterow-richcmp.diff | theller, 2008年03月31日 18:21 | Implementation with tp_richcompare | ||
| Messages (7) | |||
|---|---|---|---|
| msg62615 - (view) | Author: Thomas Heller (theller) * (Python committer) | Date: 2008年02月21日 10:48 | |
The attached patch implements hash and cmp for sqlite3.Row objects. |
|||
| msg64694 - (view) | Author: Gerhard Häring (ghaering) * (Python committer) | Date: 2008年03月29日 13:48 | |
Thomas, could you do me a favour and create a patch for Python 3.0, too? It seems that only tp_richcompare is supported there. |
|||
| msg64789 - (view) | Author: Thomas Heller (theller) * (Python committer) | Date: 2008年03月31日 18:21 | |
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. |
|||
| msg64796 - (view) | Author: Gerhard Häring (ghaering) * (Python committer) | Date: 2008年03月31日 23:08 | |
Thanks a lot! I will review and apply this after the next releases. Don't want to rush things in now that the next alphas are so close. Btw. I don't find forward-porting to py3k particularly easy. The diffs between the 2.6 version and th 3.0 version in the sqlite3 module are quite large. |
|||
| msg66206 - (view) | Author: Gerhard Häring (ghaering) * (Python committer) | Date: 2008年05月04日 13:15 | |
I applied your second patch in r62701. Thanks again! |
|||
| msg66332 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2008年05月06日 20:18 | |
Can this be closed? |
|||
| msg66335 - (view) | Author: Gerhard Häring (ghaering) * (Python committer) | Date: 2008年05月06日 21:32 | |
Yes, I was waiting till the merge to py3k was complete. It is now. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:31 | admin | set | github: 46405 |
| 2008年05月06日 21:32:15 | ghaering | set | status: open -> closed messages: + msg66335 |
| 2008年05月06日 20:18:03 | georg.brandl | set | nosy:
+ georg.brandl messages: + msg66332 |
| 2008年05月04日 13:15:52 | ghaering | set | resolution: accepted messages: + msg66206 |
| 2008年03月31日 23:08:20 | ghaering | set | messages: + msg64796 |
| 2008年03月31日 18:21:42 | theller | set | files:
+ sqliterow-richcmp.diff messages: + msg64789 |
| 2008年03月29日 13:48:39 | ghaering | set | messages: + msg64694 |
| 2008年02月27日 20:12:01 | ghaering | set | priority: normal assignee: ghaering nosy: + ghaering |
| 2008年02月21日 10:48:05 | theller | create | |