Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-43988: Use check disallow instantiation helper (GH-26392) | Erlend Egeberg Aasland | 2021-05-27 | 1 | -2/+1 |
| | |||||
* | bpo-43916: Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to selected types (GH-25748) | Erlend Egeberg Aasland | 2021-04-30 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21317) | Hai Shi | 2020-07-06 | 1 | -1/+2 |
| | |||||
* | bpo-33106: change dbm key deletion error for readonly file from KeyError to ↵ | Xiang Zhang | 2018-12-12 | 1 | -0/+11 |
| | | | | | | dbm.error (#6295) | ||||
* | bpo-34248: Add filename to error raised in {gnu,ndbm}.open() (GH-8590) | Zsolt Cserna | 2018-09-27 | 1 | -0/+7 |
| | | | | | | 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 | 1 | -3/+2 |
| | |||||
* | bpo-33901: Add _gdbm._GDBM_VERSION (GH-7794) | Victor Stinner | 2018-06-19 | 1 | -0/+11 |
| | | | | | | | * 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 | 1 | -3/+7 |
| | | | | 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 | 1 | -2/+2 |
| | | | | | | 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 | 1 | -2/+3 |
| | | | 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 | 1 | -1/+4 |
| | |||||
* | bpo-32922: dbm.open() now encodes filename with the filesystem encoding. ↵ | Serhiy Storchaka | 2018-02-26 | 1 | -1/+35 |
| | | | | (GH-5832) | ||||
* | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+1 |
| | |||||
* | - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py | doko@ubuntu.com | 2013-11-19 | 1 | -0/+0 |
|\ | |||||
| * | - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py | doko@ubuntu.com | 2013-11-19 | 1 | -0/+0 |
| | | |||||
* | | Close #19282: Native context management in dbm | Nick Coghlan | 2013-11-17 | 1 | -0/+11 |
|/ | |||||
* | Issue #19288: Fixed the "in" operator of dbm.gnu databases for string | Serhiy Storchaka | 2013-10-24 | 1 | -0/+1 |
| | | | | 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 | 1 | -5/+2 |
| | |||||
* | Fix dbm_gnu test relying on set order. | Georg Brandl | 2012-02-20 | 1 | -1/+1 |
| | |||||
* | #6045: provide at least get() and setdefault() for all dbm modules. | Georg Brandl | 2010-12-04 | 1 | -0/+4 |
| | |||||
* | use assert[Not]In where appropriate | Benjamin Peterson | 2010-01-19 | 1 | -2/+2 |
| | | | | A patch from Dave Malcolm. | ||||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 | 1 | -4/+4 |
| | |||||
* | Allow skipping of regression tests not supported on windows. This reduces ↵ | Kristján Valur Jónsson | 2009-04-01 | 1 | -1/+2 |
| | | | | 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 | 1 | -1/+1 |
| | |||||
* | dbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For the | Brett Cannon | 2008-11-25 | 1 | -0/+2 |
| | | | | | | 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 | 1 | -0/+81 |