summaryrefslogtreecommitdiffstats
path: root/Lib/dbm
Commit message (Collapse)AuthorAgeFilesLines
* Close #13007: whichdb should recognize gdbm 1.9 magic numbersJesus Cea2011-09-191-1/+1
|
* Merge 3.1Éric Araujo2011-04-201-10/+12
|\
| * Add docstring to dbm.openÉric Araujo2011-04-201-10/+12
| |
| * Fix #11491. When dbm.open was called with a file which already exists andbriancurtin2011-03-141-3/+3
| | | | | | | | | | | | the "flag" argument is "n", dbm.error was being raised. As documented, dbm.open(...,flag='n') will now "Always create a new, empty database, open for reading and writing", regardless of a previous file existing.
| * Backporting since it would have helped us find a regression.Antoine Pitrou2009-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 75314 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75314 | antoine.pitrou | 2009-10-10 23:08:31 +0200 (sam., 10 oct. 2009) | 10 lines Merged revisions 75312 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75312 | antoine.pitrou | 2009-10-10 22:52:11 +0200 (sam., 10 oct. 2009) | 4 lines Issue #7055: test___all__ now greedily detects all modules which have an __all__ attribute, rather than using a hardcoded and incomplete list. ........ ................
* | Fix #11491. When dbm.open was called with a file which already exists andbriancurtin2011-03-141-3/+3
| | | | | | | | | | | | the "flag" argument is "n", dbm.error was being raised. As documented, dbm.open(...,flag='n') will now "Always create a new, empty database, open for reading and writing", regardless of a previous file existing.
* | #6045: provide at least get() and setdefault() for all dbm modules.Georg Brandl2010-12-041-2/+2
| |
* | #9397: remove mention of dbm.bsd which does not exist anymore.Victor Stinner2010-07-291-15/+6
| |
* | Redundancy isn't needed here.Antoine Pitrou2009-10-101-1/+1
| | | | | | | | Redundancy isn't needed here.
* | Merged revisions 75312 via svnmerge fromAntoine Pitrou2009-10-101-1/+1
|/ | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75312 | antoine.pitrou | 2009-10-10 22:52:11 +0200 (sam., 10 oct. 2009) | 4 lines Issue #7055: test___all__ now greedily detects all modules which have an __all__ attribute, rather than using a hardcoded and incomplete list. ........
* We dont have dbm.bsd support anymore.Georg Brandl2009-05-171-3/+3
|
* dbm.dumb was opening files without specifying the encoding. Caused problem onBrett Cannon2008-11-241-8/+10
| | | | | | at least OS X where the default is macroman. Closes issue #4382.
* Make dbm.dumb encode strings as UTF-8. Also fix it so it accepts bytes andBrett Cannon2008-11-211-11/+17
| | | | | | strings. Closes issue #3799.
* #3929: dbm.open() would try to raise a tuple. This does not work anymore ↵Amaury Forgeot d'Arc2008-09-251-4/+4
| | | | | | with python 3.0. Reviewed by Georg Brandl.
* clean up some more bsddb scrapsBenjamin Peterson2008-09-031-11/+0
|
* Make db modules' error classes inherit IOError.Georg Brandl2008-05-282-25/+20
| | | | Stop dbm from importing every dbm module when imported.
* Create the dbm package from PEP 3108. #2881.Georg Brandl2008-05-265-0/+471