summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dbm_dumb.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21708: Deprecated dbm.dumb behavior that differs from common dbmSerhiy Storchaka2016-07-061-1/+26
| | | | | behavior: creating a database in 'r' and 'w' modes and modifying a database in 'r' mode.
* Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumbSerhiy Storchaka2015-02-151-0/+9
|\ | | | | | | module. Original patch by Claudiu Popa.
| * Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumbSerhiy Storchaka2015-02-151-0/+9
| | | | | | | | module. Original patch by Claudiu Popa.
* | Issue #18039: dbm.dump.open() now always creates a new database when theSerhiy Storchaka2014-06-101-0/+8
|/ | | | flag has the value 'n'. Patch by Claudiu Popa.
* make operations on closed dumb databases raise a consistent exception ↵Benjamin Peterson2014-04-261-4/+25
| | | | | | (closes #19385) Patch by Claudiu Popa.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-1/+0
|\ | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-1/+0
| | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
| * Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-4/+2
| |
* | Close #19282: Native context management in dbmNick Coghlan2013-11-171-0/+13
| |
* | Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-4/+2
|/
* #17082: test_dbm* now work with unittest test discovery. Patch by Zachary Ware.Ezio Melotti2013-03-011-9/+1
|
* Properly close files in test_dbm_dumb.Brett Cannon2010-10-291-2/+4
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* use assert[Not]In where appropriateBenjamin Peterson2010-01-191-2/+2
| | | | A patch from Dave Malcolm.
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-1/+1
|
* dbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For theBrett Cannon2008-11-251-0/+2
| | | | | | former they are converted to bytes before being written to the DB. Closes issue 3799. Reviewed by Skip Montanaro.
* Make dbm.dumb encode strings as UTF-8. Also fix it so it accepts bytes andBrett Cannon2008-11-211-15/+31
| | | | | | strings. Closes issue #3799.
* Create the dbm package from PEP 3108. #2881.Georg Brandl2008-05-261-0/+185