summaryrefslogtreecommitdiffstats
path: root/Lib/dumbdbm.py
Commit message (Collapse)AuthorAgeFilesLines
* forward-patch from release21-maint branch:Anthony Baxter2001-12-211-0/+6
| | | | | | | | | | Make dumbdbm merely "dumb", rather than "terminally broken". Without this patch, it's almost impossible to use dumbdbm _without_ causing horrible datalossage. With this patch, dumbdbm passes my own horrible torture test, as well as the roundup test suite. dumbdbm really could do with a smidgin of a rewrite or two, but that's not suitable for the release21-maint branch.
* Honor the mode argument to dumbdbm.open(); there is not good reason not to,Fred Drake2001-12-071-6/+7
| | | | | especially since the documentation described it in detail. This partially closes SF bug #490098.
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-241-7/+3
|
* The first batch of changes recommended by the fixdiv tool. These areGuido van Rossum2001-09-041-1/+1
| | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended.
* Replace __import__ with import as.Martin v. Löwis2001-07-191-1/+1
|
* Added support for .__contains__(), .__iter__(), .iterkeys().Fred Drake2001-05-031-1/+8
|
* RISCOS changes by dschwertberger.Guido van Rossum2001-03-021-3/+7
|
* removed __all__ from several modulesSkip Montanaro2001-02-181-2/+0
|
* more __all__ updatesSkip Montanaro2001-01-201-0/+2
|
* Whitespace normalization.Tim Peters2001-01-141-107/+107
|
* Apply rstrip() to the lines read from _dirfile in _update(), so that aGuido van Rossum2000-12-111-1/+1
| | | | dumbdbm archive created on Windows can be read on Unix.
* Patch from Joe Eaton <jeaton@hostway.net> (SF#100741) to fix following problem:Andrew M. Kuchling2000-07-101-1/+0
| | | | | | | | There is a silly bug in the fall-back dumbdbm.py database package in the Python 1.5.2 standard distro. This bug causes any changes to an existing item to generate a new key, even when the key already exists. After many updates, the .dir file used by dumbdbm grows to a huge size, and can cause filesystem problems.
* Cast f.tell() result to int() in _addval(), so it works even onGuido van Rossum1999-04-271-1/+1
| | | | | platforms where tell() returns a long. (Perhaps tell() should be fixed too?) Reported by Greg Humphreys.
* export error == IOErrorGuido van Rossum1996-05-281-0/+2
|
* fix typo in _setval() return valueGuido van Rossum1996-01-251-1/+1
|
* Initial revisionGuido van Rossum1995-08-101-0/+143