summaryrefslogtreecommitdiffstats
path: root/Lib/shelve.py
Commit message (Collapse)AuthorAgeFilesLines
* Give in to tabnanny.Guido van Rossum1998-04-061-5/+5
|
* Don't write "if self.dict: self.dict.close()"; just writeGuido van Rossum1998-03-261-2/+1
| | | | | | "self.dict.close()" and ignore the exception. The "if self.dict:" part would be calculated through len(self.dict.keys()), which is very expensive for a large dictionary...
* Make close(), and hence __del__(), robust in the light of the worldGuido van Rossum1997-12-091-3/+6
| | | | being destroyed already.
* Use cPickle and cStringIO when available.Guido van Rossum1997-06-061-20/+30
|
* Added a 'sync' method to shelve. If the underlying database does not have a ↵Roger E. Masse1997-03-251-0/+4
| | | | | | sync attribute, this method silently ignores this fact. The default (bsddb's dbhash) does.
* Fix bogus len() callGuido van Rossum1996-09-101-1/+1
|
* renamed DbShelf->DbfilenameShelf;added BsdDbShelf (David Ely)Guido van Rossum1995-08-111-5/+46
|
* fix stupid bug (db should be dict)Guido van Rossum1995-02-271-3/+3
|
* minute comment changesGuido van Rossum1995-02-161-1/+1
|
* added __doc__ strings etc.Guido van Rossum1995-02-091-7/+59
|
* shelve.py: database of persistent objects, on top of pickle.py and anydbm.pyGuido van Rossum1995-01-101-0/+43
pickle.py: new low-level persistency module (used to be called flatten) dbmac.py: stupid dbm clone for the Mac anydbm.py: generic dbm interface (should be extended to support gdbm)