Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | gh-66234: Add flag to disable the use of mmap in dbm.gnu (GH-135005) | Serhiy Storchaka | 5 days |
| | | | | This may harm performance, but improve crash tolerance. | ||
* | gh-126742: Add _PyErr_SetLocaleString, use it for gdbm & dlerror messages ↵ | Bénédikt Tran | 2024-12-17 |
| | | | | | | | | (GH-126746) - Add a helper to set an error from locale-encoded `char*` - Use the helper for gdbm & dlerror messages Co-authored-by: Victor Stinner <vstinner@python.org> | ||
* | gh-107122: Add clear method to dbm.gdbm.module (gh-107127) | Dong-hee Na | 2023-07-23 |
| | |||
* | GH-46412: More efficient bool() for ndbm/_gdbmmodule (#96692) | Guido van Rossum | 2022-09-08 |
| | |||
* | bpo-40563: Support pathlike objects on dbm/shelve (GH-21849) | Henry-Joseph Audéoud | 2021-09-10 |
| | | | | Co-authored-by: Hakan Çelik <hakancelik96@outlook.com> | ||
* | bpo-43988: Use check disallow instantiation helper (GH-26392) | Erlend Egeberg Aasland | 2021-05-27 |
| | |||
* | bpo-43916: Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to selected types (GH-25748) | Erlend Egeberg Aasland | 2021-04-30 |
| | | | | | | | | | | | | | | | | | | | | | Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to the following types: * _dbm.dbm * _gdbm.gdbm * _multibytecodec.MultibyteCodec * _sre..SRE_Scanner * _thread._localdummy * _thread.lock * _winapi.Overlapped * array.arrayiterator * functools.KeyWrapper * functools._lru_list_elem * pyexpat.xmlparser * re.Match * re.Pattern * unicodedata.UCD * zlib.Compress * zlib.Decompress | ||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21743) | Hai Shi | 2020-08-06 |
| | |||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21317) | Hai Shi | 2020-07-06 |
| | |||
* | bpo-33106: change dbm key deletion error for readonly file from KeyError to ↵ | Xiang Zhang | 2018-12-12 |
| | | | | | | dbm.error (#6295) | ||
* | bpo-34248: Add filename to error raised in {gnu,ndbm}.open() (GH-8590) | Zsolt Cserna | 2018-09-27 |
| | | | | | | Report the filename to the exception when raising {gdbm,dbm.ndbm}.error in dbm.gnu.open() and dbm.ndbm.open() functions, so it gets printed when the exception is raised, and can also be obtained by the filename attribute of the exception object. | ||
* | Fix compiling error when missing gdbm version macros (GH-7823) | Xiang Zhang | 2018-06-20 |
| | |||
* | bpo-33901: Add _gdbm._GDBM_VERSION (GH-7794) | Victor Stinner | 2018-06-19 |
| | | | | | | | * Fix also PyInit__gdbm() to catch errors. * test.pythoninfo: add gdbm.version * test_dbm_gnu now logs GDBM_VERSION when run in verbose mode. * pythoninfo: rename function to collect_gdbm() | ||
* | bpo-33901: Better test_dbm_gnu.test_reorganize() fix (GH-7795) | Victor Stinner | 2018-06-19 |
| | | | | Fix test_dbm_gnu.test_reorganize() on macOS with gdbm 1.15: add a larger value to make sure that the file size changes. | ||
* | bpo-33901: Fix test_dbm_gnu for gdbm 1.15 (GH-7791) | Victor Stinner | 2018-06-19 |
| | | | | | | Using gdbm 1.15, creating a database creates a file of 16 MiB. Adding a small entry and then modifying the small entry doesn't change the file size. Modify test_dbm_gnu to be less strict: allow that the file size doesn't change. | ||
* | Use more specific asserts in dbm tests. (GH-7786) | Serhiy Storchaka | 2018-06-19 |
| | | | This may help to investigate bpo-33901. | ||
* | bpo-33383: Fix crash in get() of the dbm.ndbm database object. (#6630) | Serhiy Storchaka | 2018-04-29 |
| | |||
* | bpo-32922: dbm.open() now encodes filename with the filesystem encoding. ↵ | Serhiy Storchaka | 2018-02-26 |
| | | | | (GH-5832) | ||
* | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 |
| | |||
* | - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py | doko@ubuntu.com | 2013-11-19 |
|\ | |||
| * | - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py | doko@ubuntu.com | 2013-11-19 |
| | | |||
* | | Close #19282: Native context management in dbm | Nick Coghlan | 2013-11-17 |
|/ | |||
* | Issue #19288: Fixed the "in" operator of dbm.gnu databases for string | Serhiy Storchaka | 2013-10-25 |
| | | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis. | ||
* | #17082: test_dbm* now work with unittest test discovery. Patch by Zachary Ware. | Ezio Melotti | 2013-03-01 |
| | |||
* | Fix dbm_gnu test relying on set order. | Georg Brandl | 2012-02-20 |
| | |||
* | #6045: provide at least get() and setdefault() for all dbm modules. | Georg Brandl | 2010-12-04 |
| | |||
* | use assert[Not]In where appropriate | Benjamin Peterson | 2010-01-19 |
| | | | | A patch from Dave Malcolm. | ||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 |
| | |||
* | Allow skipping of regression tests not supported on windows. This reduces ↵ | Kristján Valur Jónsson | 2009-04-01 |
| | | | | noise in the regression test suite for py3k on Windows. | ||
* | Fix a broken test_dbm_gnu as introducted by r67380. | Brett Cannon | 2008-11-25 |
| | |||
* | dbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For the | Brett Cannon | 2008-11-25 |
| | | | | | | former they are converted to bytes before being written to the DB. Closes issue 3799. Reviewed by Skip Montanaro. | ||
* | Create the dbm package from PEP 3108. #2881. | Georg Brandl | 2008-05-26 |