Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36232: Improve error message on dbm.open() when the db doesn't exist ↵ | Marco Rougeth | 2019-04-29 | 1 | -1/+2 |
| | | | | (GH-12060) | ||||
* | Clean up code which checked presence of os.{stat,lstat,chmod} (#11643) | Anthony Sottile | 2019-02-25 | 1 | -2/+1 |
| | |||||
* | bpo-33106: change dbm key deletion error for readonly file from KeyError to ↵ | Xiang Zhang | 2018-12-12 | 1 | -2/+2 |
| | | | | | | dbm.error (#6295) | ||||
* | bpo-32749: Make dbm.dumb databases more cosistent with other dbm databases. ↵ | Serhiy Storchaka | 2018-02-05 | 1 | -19/+7 |
| | | | | (#5497) | ||||
* | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -2/+2 |
| | | | | collections. (#1263) | ||||
* | Issue #28847: A deprecation warning is now emitted if the index file is missed | Serhiy Storchaka | 2016-12-07 | 1 | -2/+7 |
| | | | | | and recreated in the 'r' and 'w' modes (will be an error in future Python releases). | ||||
* | Issue #28847: dbm.dumb now supports reading read-only files and no longer | Serhiy Storchaka | 2016-12-07 | 1 | -2/+5 |
|\ | | | | | | | writes the index file when it is not changed. | ||||
| * | Issue #28847: dbm.dumb now supports reading read-only files and no longer | Serhiy Storchaka | 2016-12-07 | 1 | -2/+6 |
| | | | | | | | | writes the index file when it is not changed. | ||||
* | | Issue #21708: Deprecated dbm.dumb behavior that differs from common dbm | Serhiy Storchaka | 2016-07-06 | 1 | -0/+18 |
|/ | | | | | behavior: creating a database in 'r' and 'w' modes and modifying a database in 'r' mode. | ||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -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 more | Serhiy Storchaka | 2015-04-10 | 1 | -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 Storchaka | 2015-04-04 | 1 | -3/+3 |
| | | |||||
* | | Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb | Serhiy Storchaka | 2015-02-15 | 1 | -1/+2 |
|\ \ | |/ | | | | | module. Original patch by Claudiu Popa. | ||||
| * | Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb | Serhiy Storchaka | 2015-02-15 | 1 | -1/+2 |
| | | | | | | | | module. Original patch by Claudiu Popa. | ||||
* | | Issue #21729: Used the "with" statement in the dbm.dumb module to ensure | Serhiy Storchaka | 2014-06-25 | 1 | -36/+33 |
|\ \ | |/ | | | | | files closing. Patch by Claudiu Popa. | ||||
| * | Issue #21729: Used the "with" statement in the dbm.dumb module to ensure | Serhiy Storchaka | 2014-06-25 | 1 | -36/+33 |
| | | | | | | | | files closing. Patch by Claudiu Popa. | ||||
* | | Issue #18039: dbm.dump.open() now always creates a new database when the | Serhiy Storchaka | 2014-06-10 | 1 | -9/+18 |
|/ | | | | flag has the value 'n'. Patch by Claudiu Popa. | ||||
* | Restore performance of some dumb database methods (regression introduced by ↵ | Serhiy Storchaka | 2014-05-28 | 1 | -8/+19 |
| | | | | #19385). | ||||
* | make operations on closed dumb databases raise a consistent exception ↵ | Benjamin Peterson | 2014-04-26 | 1 | -0/+12 |
| | | | | | | (closes #19385) Patch by Claudiu Popa. | ||||
* | Close #19282: Native context management in dbm | Nick Coghlan | 2013-11-17 | 1 | -0/+6 |
| | |||||
* | #17198: merge with 3.3. | Ezio Melotti | 2013-07-07 | 1 | -0/+5 |
|\ | |||||
| * | #17198: Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova. | Ezio Melotti | 2013-07-07 | 1 | -0/+5 |
| | | |||||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 2 | -8/+8 |
| | | |||||
* | | Issue #16706: get rid of os.error | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
| | | |||||
* | | #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) | Jesus Cea | 2012-10-05 | 1 | -4/+2 |
|/ | |||||
* | Close #13007: whichdb should recognize gdbm 1.9 magic numbers | Jesus Cea | 2011-09-19 | 1 | -1/+1 |
| | |||||
* | Merge 3.1 | Éric Araujo | 2011-04-20 | 1 | -10/+12 |
|\ | |||||
| * | Add docstring to dbm.open | Éric Araujo | 2011-04-20 | 1 | -10/+12 |
| | | |||||
| * | Fix #11491. When dbm.open was called with a file which already exists and | briancurtin | 2011-03-14 | 1 | -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 Pitrou | 2009-10-27 | 1 | -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 and | briancurtin | 2011-03-14 | 1 | -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 Brandl | 2010-12-04 | 1 | -2/+2 |
| | | |||||
* | | #9397: remove mention of dbm.bsd which does not exist anymore. | Victor Stinner | 2010-07-29 | 1 | -15/+6 |
| | | |||||
* | | Redundancy isn't needed here. | Antoine Pitrou | 2009-10-10 | 1 | -1/+1 |
| | | | | | | | | Redundancy isn't needed here. | ||||
* | | Merged revisions 75312 via svnmerge from | Antoine Pitrou | 2009-10-10 | 1 | -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 Brandl | 2009-05-17 | 1 | -3/+3 |
| | |||||
* | dbm.dumb was opening files without specifying the encoding. Caused problem on | Brett Cannon | 2008-11-24 | 1 | -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 and | Brett Cannon | 2008-11-21 | 1 | -11/+17 |
| | | | | | | strings. Closes issue #3799. | ||||
* | #3929: dbm.open() would try to raise a tuple. This does not work anymore ↵ | Amaury Forgeot d'Arc | 2008-09-25 | 1 | -4/+4 |
| | | | | | | with python 3.0. Reviewed by Georg Brandl. | ||||
* | clean up some more bsddb scraps | Benjamin Peterson | 2008-09-03 | 1 | -11/+0 |
| | |||||
* | Make db modules' error classes inherit IOError. | Georg Brandl | 2008-05-28 | 2 | -25/+20 |
| | | | | Stop dbm from importing every dbm module when imported. | ||||
* | Create the dbm package from PEP 3108. #2881. | Georg Brandl | 2008-05-26 | 5 | -0/+471 |