Commit Graph

8 Commits

Author SHA1 Message Date
briancurtin 525c25d42f Fix #11491. When dbm.open was called with a file which already exists and
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.
2011-03-14 16:03:54 -04:00
Victor Stinner 1cec3e367c #9397: remove mention of dbm.bsd which does not exist anymore. 2010-07-29 16:26:56 +00:00
Antoine Pitrou a328029c9a Redundancy isn't needed here.
Redundancy isn't needed here.
2009-10-10 21:28:29 +00:00
Antoine Pitrou 4de39cda18 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.
........
2009-10-10 21:08:31 +00:00
Georg Brandl 170fb04038 We dont have dbm.bsd support anymore. 2009-05-17 08:42:58 +00:00
Amaury Forgeot d'Arc b5cf301b8e #3929: dbm.open() would try to raise a tuple. This does not work anymore with python 3.0.
Reviewed by Georg Brandl.
2008-09-25 22:27:43 +00:00
Georg Brandl b17acad68e Make db modules' error classes inherit IOError.
Stop dbm from importing every dbm module when imported.
2008-05-28 08:43:17 +00:00
Georg Brandl 0a7ac7d70d Create the dbm package from PEP 3108. #2881. 2008-05-26 10:29:35 +00:00