summaryrefslogtreecommitdiffstats
path: root/Lib/shelve.py
Commit message (Collapse)AuthorAgeFilesLines
* SF patch #520382: Expand shelve.py to have a full dictionary interfaceRaymond Hettinger2002-11-151-1/+3
| | | | | and add a mixin to UserDict.py to make it easier to implement a full dictionary interface.
* Patch #624936: Implement __contains__.Martin v. Löwis2002-10-181-1/+4
|
* bunch more __all__ listsSkip Montanaro2001-02-151-0/+1
| | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
* Whitespace normalization.Tim Peters2001-01-151-98/+98
|
* Untabify to pass the -tt test.Fred Drake2000-02-101-109/+109
|
* Patch by Paul Sokolovsky to support the get() method.Guido van Rossum1999-08-111-0/+5
|
* 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)