Open GoogleCodeExporter opened 9 years ago
Currently having a look at this. I initially did a small patch to convert the
file_hashes dictionary into a shelve "dictionary" like object, but it choked on
long
integers as keys [0]. I'm unsure on whether to make my patch [1] bigger, or
file a bug
against shelve to make it deal with long keys properly.
[0] http://pastebin.com/m5f13fa62
[1] http://pastebin.com/f5b529dfb
Original comment by jshholl...@googlemail.com
on 4 Feb 2010 at 10:15
I have now written a new patch that wraps the anydbm module (working at a lower
level
than shelve). Limited testing appears to show that it works, but it is yet to
be used
on a large tree. It should be self contained.
Original comment by jshholl...@googlemail.com
on 16 May 2010 at 12:20
Attachments:
jshholland, applied your patch and it appears to be working well on first try.
had to modify it slightly to get it working.
changed
self.db = anydbm.open(name, 'n')
to
self.db = anydbm.open(self.name, 'n')
Original comment by abnormal...@gmail.com
on 10 Nov 2010 at 12:05
Original issue reported on code.google.com by
bill...@bitfolk.com
on 31 Jan 2010 at 4:06