summaryrefslogtreecommitdiffstats
path: root/Lib/dbm/dumb.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40563: Support pathlike objects on dbm/shelve (GH-21849)Henry-Joseph Audéoud2021-09-101-3/+4
| | | | Co-authored-by: Hakan Çelik <hakancelik96@outlook.com>
* Clean up code which checked presence of os.{stat,lstat,chmod} (#11643)Anthony Sottile2019-02-251-2/+1
|
* bpo-33106: change dbm key deletion error for readonly file from KeyError to ↵Xiang Zhang2018-12-121-2/+2
| | | | | | dbm.error (#6295)
* bpo-32749: Make dbm.dumb databases more cosistent with other dbm databases. ↵Serhiy Storchaka2018-02-051-19/+7
| | | | (#5497)
* bpo-30144: Import collections ABC from collections.abc rather than ↵Serhiy Storchaka2017-04-241-2/+2
| | | | collections. (#1263)
* Issue #28847: A deprecation warning is now emitted if the index file is missedSerhiy Storchaka2016-12-071-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 longerSerhiy Storchaka2016-12-071-2/+5
|\ | | | | | | writes the index file when it is not changed.
| * Issue #28847: dbm.dumb now supports reading read-only files and no longerSerhiy Storchaka2016-12-071-2/+6
| | | | | | | | writes the index file when it is not changed.
* | Issue #21708: Deprecated dbm.dumb behavior that differs from common dbmSerhiy Storchaka2016-07-061-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 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 #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
|
* Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-3/+3
|
* Issue #16706: get rid of os.errorAndrew Svetlov2012-12-181-2/+2
|
* #6045: provide at least get() and setdefault() for all dbm modules.Georg Brandl2010-12-041-2/+2
|
* 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.
* Create the dbm package from PEP 3108. #2881.Georg Brandl2008-05-261-0/+257