Issue1233
Created on 2007-10-03 16:45 by polaar, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg56219 - (view) | Author: Steven Vereecken (polaar) | Date: 2007-10-03 16:45 | |
The check for DB_RECNO seems to do the opposite of what it's supposed to do:
def append(self, value, txn=None):
if self.get_type() != db.DB_RECNO:
self.append = self.__append
return self.append(value, txn=txn)
raise db.DBError, "append() only supported when dbshelve opened
with filetype=dbshelve.db.DB_RECNO"
|
|||
| msg56356 - (view) | Author: Neal Norwitz (nnorwitz) * ![]() |
Date: 2007-10-12 05:34 | |
Gregory, could you take a look at this? |
|||
| msg56378 - (view) | Author: Gregory P. Smith (gregory.p.smith) * ![]() |
Date: 2007-10-12 16:42 | |
heh yep that does look like a bug. Laughing at that one goes well with this comment currently in test_dbshelve.py: # TODO: Add test cases for a DBShelf in a RECNO DB. i'll fix it. :) |
|||
| msg56382 - (view) | Author: Gregory P. Smith (gregory.p.smith) * ![]() |
Date: 2007-10-12 19:14 | |
Fixed in python trunk r58434, release25-maint r58435, py3k r58438 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:27 | admin | set | github: 45574 |
| 2007-10-12 19:14:44 | gregory.p.smith | set | status: open -> closed resolution: fixed messages: + msg56382 versions: + Python 2.6, Python 3.0 |
| 2007-10-12 16:42:04 | gregory.p.smith | set | messages: + msg56378 |
| 2007-10-12 05:34:59 | nnorwitz | set | assignee: gregory.p.smith messages: + msg56356 components: + Extension Modules, - Library (Lib) nosy: + gregory.p.smith, nnorwitz |
| 2007-10-03 16:45:21 | polaar | create | |
