Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert part of r60927 which made invalid assumptions about the API offered ↵ | Raymond Hettinger | 2008-02-25 | 1 | -3/+3 |
| | | | | by db modules. | ||||
* | Update more instances of has_key(). | Raymond Hettinger | 2008-02-21 | 1 | -3/+3 |
| | |||||
* | Bug #1339007: Shelf objects now don't raise an exception in their | Georg Brandl | 2006-06-14 | 1 | -0/+3 |
| | | | | __del__ method when initialization failed. | ||||
* | Removed deprecated method arguments from the shelve module. | Raymond Hettinger | 2004-12-05 | 1 | -16/+7 |
| | |||||
* | Fixup bare try/except. | Raymond Hettinger | 2003-05-27 | 1 | -1/+1 |
| | |||||
* | SF 740055: optional argument protocol in shelve.open is ignored | Raymond Hettinger | 2003-05-20 | 1 | -1/+1 |
| | | | | | * added the missing parameter * put optional parameters in correct positional order | ||||
* | Whitespace normalization. | Tim Peters | 2003-04-24 | 1 | -1/+1 |
| | |||||
* | Patch #553171: Add writeback parameter. Also add protocol parameter. | Martin v. Löwis | 2003-04-19 | 1 | -19/+80 |
| | |||||
* | flesh out open() docstring | Skip Montanaro | 2003-01-21 | 1 | -1/+7 |
| | |||||
* | self.binary -> self._binary to remove it from the public interface - | Skip Montanaro | 2002-12-08 | 1 | -2/+2 |
| | | | | suggestion by Raymond Hettinger. | ||||
* | Add support for binary pickles to the shelve module. In some situations | Skip Montanaro | 2002-12-08 | 1 | -8/+9 |
| | | | | | | | | this can result in significantly smaller files. All classes as well as the open function now accept an optional binary parameter, which defaults to False for backward compatibility. Added a small test suite, updated the libref documentation (including documenting the exported classes and fixing a few other nits) and added a note about the change to Misc/NEWS. | ||||
* | SF patch #520382: Expand shelve.py to have a full dictionary interface | Raymond Hettinger | 2002-11-15 | 1 | -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öwis | 2002-10-18 | 1 | -1/+4 |
| | |||||
* | bunch more __all__ lists | Skip Montanaro | 2001-02-15 | 1 | -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 Peters | 2001-01-15 | 1 | -98/+98 |
| | |||||
* | Untabify to pass the -tt test. | Fred Drake | 2000-02-10 | 1 | -109/+109 |
| | |||||
* | Patch by Paul Sokolovsky to support the get() method. | Guido van Rossum | 1999-08-11 | 1 | -0/+5 |
| | |||||
* | Give in to tabnanny. | Guido van Rossum | 1998-04-06 | 1 | -5/+5 |
| | |||||
* | Don't write "if self.dict: self.dict.close()"; just write | Guido van Rossum | 1998-03-26 | 1 | -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 world | Guido van Rossum | 1997-12-09 | 1 | -3/+6 |
| | | | | being destroyed already. | ||||
* | Use cPickle and cStringIO when available. | Guido van Rossum | 1997-06-06 | 1 | -20/+30 |
| | |||||
* | Added a 'sync' method to shelve. If the underlying database does not have a ↵ | Roger E. Masse | 1997-03-25 | 1 | -0/+4 |
| | | | | | | sync attribute, this method silently ignores this fact. The default (bsddb's dbhash) does. | ||||
* | Fix bogus len() call | Guido van Rossum | 1996-09-10 | 1 | -1/+1 |
| | |||||
* | renamed DbShelf->DbfilenameShelf;added BsdDbShelf (David Ely) | Guido van Rossum | 1995-08-11 | 1 | -5/+46 |
| | |||||
* | fix stupid bug (db should be dict) | Guido van Rossum | 1995-02-27 | 1 | -3/+3 |
| | |||||
* | minute comment changes | Guido van Rossum | 1995-02-16 | 1 | -1/+1 |
| | |||||
* | added __doc__ strings etc. | Guido van Rossum | 1995-02-09 | 1 | -7/+59 |
| | |||||
* | shelve.py: database of persistent objects, on top of pickle.py and anydbm.py | Guido van Rossum | 1995-01-10 | 1 | -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) |