[issue2152] make sqlite.Row hashable correctly

2008-05-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Can this be closed? -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue2152] make sqlite.Row hashable correctly

2008-05-04 Thread Gerhard Häring
Gerhard Häring <[EMAIL PROTECTED]> added the comment: I applied your second patch in r62701. Thanks again! -- resolution: -> accepted __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2152] make sqlite.Row hashable correctly

2008-03-31 Thread Gerhard Häring
Gerhard Häring <[EMAIL PROTECTED]> added the comment: 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 v

[issue2152] make sqlite.Row hashable correctly

2008-03-31 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> 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

[issue2152] make sqlite.Row hashable correctly

2008-03-29 Thread Gerhard Häring
Gerhard Häring <[EMAIL PROTECTED]> added the comment: 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. __ Tracker <[EMAIL PROTECTED]> _

[issue2152] make sqlite.Row hashable correctly

2008-02-27 Thread Gerhard Häring
Changes by Gerhard Häring: -- assignee: -> ghaering nosy: +ghaering priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list

[issue2152] make sqlite.Row hashable correctly

2008-02-21 Thread Thomas Heller
New submission from Thomas Heller: The attached patch implements hash and cmp for sqlite3.Row objects. -- files: sqliterow.patch keywords: patch messages: 62615 nosy: theller severity: normal status: open title: make sqlite.Row hashable correctly type: behavior versions: Python 2.6, Pyth