summaryrefslogtreecommitdiffstats
path: root/Modules/_gdbmmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* bpo-8677: use PY_SSIZE_T_CLEAN in Modules/_gdbmodule.c (GH-12464)Inada Naoki2019-03-201-9/+27
|
* bpo-33106: change dbm key deletion error for readonly file from KeyError to ↵Xiang Zhang2018-12-121-2/+7
| | | | | | dbm.error (#6295)
* Remove a duplicate descriptor in gdbm. (GH-11053)Serhiy Storchaka2018-12-091-1/+0
|
* bpo-34248: Add filename to error raised in {gnu,ndbm}.open() (GH-8590)Zsolt Cserna2018-09-271-1/+1
| | | | | | 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 Zhang2018-06-201-0/+3
|
* bpo-33901: Add _gdbm._GDBM_VERSION (GH-7794)Victor Stinner2018-06-191-8/+31
| | | | | | | * 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-32922: dbm.open() now encodes filename with the filesystem encoding. ↵Serhiy Storchaka2018-02-261-4/+17
| | | | (GH-5832)
* bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)Serhiy Storchaka2017-04-161-1/+1
|
* Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE whereverSerhiy Storchaka2017-01-231-10/+5
| | | | possible. Patch is writen with Coccinelle.
* Issue #28769: The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8()Serhiy Storchaka2017-01-221-1/+1
| | | | is now of type "const char *" rather of "char *".
* - Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-071-3/+2
|\ | | | | | | generated by Argument Clinic. Patch by Petr Viktorin.
| * Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-071-3/+2
| | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin.
* | Issue #25923: Added the const qualifier to static constant arrays.Serhiy Storchaka2015-12-251-1/+1
|/
* Issue #24000: Improved Argument Clinic's mapping of converters to legacyLarry Hastings2015-05-081-2/+2
| | | | "format units". Updated the documentation to match.
* Issue #24001: Argument Clinic converters now use accept={type}Larry Hastings2015-05-041-2/+2
| | | | instead of types={'type'} to specify the types the converter accepts.
* Issue #20184: Converted _dbm and _gdbm modules to Argument Clinic.Serhiy Storchaka2015-04-171-129/+177
|
* Close #19282: Native context management in dbmNick Coghlan2013-11-171-0/+16
|
* Issue #19288: Fixed the "in" operator of dbm.gnu databases for stringSerhiy Storchaka2013-10-241-4/+13
|\ | | | | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
| * Issue #19288: Fixed the "in" operator of dbm.gnu databases for stringSerhiy Storchaka2013-10-241-4/+13
| | | | | | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
* | Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou2013-08-131-11/+11
|/
* #6045: provide at least get() and setdefault() for all dbm modules.Georg Brandl2010-12-041-0/+47
|
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-35/+35
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson2009-02-021-1/+1
| | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong.
* dbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For theBrett Cannon2008-11-251-2/+2
| | | | | | former they are converted to bytes before being written to the DB. Closes issue 3799. Reviewed by Skip Montanaro.
* #3247: get rid of Py_FindMethodAmaury Forgeot d'Arc2008-07-021-7/+8
| | | | Third step: unix-only modules. Really remove the function this time.
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-6/+18
|
* Make db modules' error classes inherit IOError.Georg Brandl2008-05-281-1/+1
| | | | Stop dbm from importing every dbm module when imported.
* Renamed PyString to PyBytesChristian Heimes2008-05-261-7/+7
|
* Create the dbm package from PEP 3108. #2881.Georg Brandl2008-05-261-0/+533