summaryrefslogtreecommitdiffstats
path: root/Lib/dbm
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-2/+4
|\ | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
| * Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-2/+4
| | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* | Issue #22831: Use "with" to avoid possible fd leaks.Serhiy Storchaka2015-04-041-3/+3
| |
* | Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumbSerhiy Storchaka2015-02-151-1/+2
|\ \ | |/ | | | | module. Original patch by Claudiu Popa.
| * Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumbSerhiy Storchaka2015-02-151-1/+2
| | | | | | | | module. Original patch by Claudiu Popa.
* | Issue #21729: Used the "with" statement in the dbm.dumb module to ensureSerhiy Storchaka2014-06-251-36/+33
|\ \ | |/ | | | | files closing. Patch by Claudiu Popa.
| * Issue #21729: Used the "with" statement in the dbm.dumb module to ensureSerhiy Storchaka2014-06-251-36/+33
| | | | | | | | files closing. Patch by Claudiu Popa.
* | Issue #18039: dbm.dump.open() now always creates a new database when theSerhiy Storchaka2014-06-101-9/+18
|/ | | | flag has the value 'n'. Patch by Claudiu Popa.
* Restore performance of some dumb database methods (regression introduced by ↵Serhiy Storchaka2014-05-281-8/+19
| | | | #19385).
* make operations on closed dumb databases raise a consistent exception ↵Benjamin Peterson2014-04-261-0/+12
| | | | | | (closes #19385) Patch by Claudiu Popa.
* Close #19282: Native context management in dbmNick Coghlan2013-11-171-0/+6
|
* #17198: merge with 3.3.Ezio Melotti2013-07-071-0/+5
|\
| * #17198: Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova.Ezio Melotti2013-07-071-0/+5
| |
* | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-252-8/+8
| |
* | Issue #16706: get rid of os.errorAndrew Svetlov2012-12-181-2/+2
| |
* | #16135: Removal of OS/2 support (Remove OS2 and OS/2 references)Jesus Cea2012-10-051-4/+2
|/
* 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