41 Commits (41bade96a4d1dcd35bbba79c2eabe052d02756a4)

Author SHA1 Message Date
Georg Brandl 732324a3f8 #7905: Actually respect the keyencoding parameter to shelve.Shelf. 15 years ago
R. David Murray 733ecdcc2f Merged revisions 78145 via svnmerge from 16 years ago
R. David Murray ddb3ed003e Merged revisions 78141-78142 via svnmerge from 16 years ago
R. David Murray 709b4c35cc Merged revisions 78139 via svnmerge from 16 years ago
R. David Murray 1f449143f4 Merged revisions 78137 via svnmerge from 16 years ago
Raymond Hettinger 85602268dc The default shelve pickle protocol should have been 3. 17 years ago
Brett Cannon b5ebf27b88 Merged revisions 65787 via svnmerge from 18 years ago
Benjamin Peterson d63137159b Merged revisions 65209-65216,65225-65226,65233,65239,65246-65247,65255-65256 via svnmerge from 18 years ago
Georg Brandl 0a7ac7d70d Create the dbm package from PEP 3108. #2881. 18 years ago
Raymond Hettinger ba99c58872 The new default protocol is two. 18 years ago
Raymond Hettinger b9da9bc0a0 Start replacing UserDict.DictMixin with collections.MutableMapping (the bsddb modules are next). 18 years ago
Martin v. Löwis 79c320898d Change shelve to require a bytes-oriented dict as 19 years ago
Brett Cannon d24fffe7c6 Move shelve over to BytesIO as pickle.(Pickler | Unpickler) expect binary 19 years ago
Guido van Rossum 68937b4cbc Change some uses of cStringIO.StringIO to io.StringIO. 19 years ago
Georg Brandl a18af4e7a2 PEP 3114: rename .next() to .__next__() and add next() builtin. 19 years ago
Guido van Rossum cc2b016125 - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone; 19 years ago
Guido van Rossum e2b70bcf74 Get rid of dict.has_key(). Boy this has a lot of repercussions! 20 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Raymond Hettinger 1bc82f891c Removed deprecated method arguments from the shelve module. 22 years ago
Raymond Hettinger 68dcd34c0a Fixup bare try/except. 23 years ago
Raymond Hettinger 092b2a97d2 SF 740055: optional argument protocol in shelve.open is ignored 23 years ago
Tim Peters 0eadaac7dc Whitespace normalization. 23 years ago
Martin v. Löwis 153c9e493e Patch #553171: Add writeback parameter. Also add protocol parameter. 23 years ago
Skip Montanaro b3b22f3a29 flesh out open() docstring 23 years ago
Skip Montanaro 123dc8ef72 self.binary -> self._binary to remove it from the public interface - 24 years ago
Skip Montanaro 3bf99e3e87 Add support for binary pickles to the shelve module. In some situations 24 years ago
Raymond Hettinger 7994716b6b SF patch #520382: Expand shelve.py to have a full dictionary interface 24 years ago
Martin v. Löwis e4913c9987 Patch #624936: Implement __contains__. 24 years ago
Skip Montanaro 0de65807e6 bunch more __all__ lists 25 years ago
Tim Peters 495ad3c8cc Whitespace normalization. 25 years ago
Fred Drake 13a2c279c5 Untabify to pass the -tt test. 26 years ago
Guido van Rossum 2f7df12f33 Patch by Paul Sokolovsky to support the get() method. 27 years ago
Guido van Rossum f62cf61548 Give in to tabnanny. 28 years ago
Guido van Rossum 65e5399081 Don't write "if self.dict: self.dict.close()"; just write 28 years ago
Guido van Rossum 6599fb0917 Make close(), and hence __del__(), robust in the light of the world 29 years ago
Guido van Rossum 914c938cc5 Use cPickle and cStringIO when available. 29 years ago
Roger E. Masse 4fc7067055 Added a 'sync' method to shelve. If the underlying database does not have a sync 29 years ago
Guido van Rossum 5f8ea10bc2 Fix bogus len() call 30 years ago
Guido van Rossum abad1cc647 renamed DbShelf->DbfilenameShelf;added BsdDbShelf (David Ely) 31 years ago
Guido van Rossum cebfa70a79 fix stupid bug (db should be dict) 31 years ago
Guido van Rossum 256cbd7487 minute comment changes 31 years ago
Guido van Rossum cc6764c1ba added __doc__ strings etc. 32 years ago
Guido van Rossum a48061a580 shelve.py: database of persistent objects, on top of pickle.py and anydbm.py 32 years ago