Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.10] bpo-45060: Get rid of few uses of the equality operators with None ↵ | Serhiy Storchaka | 2021-09-04 | 1 | -2/+2 |
| | | | | | | | (GH-28087). (GH-28092) (cherry picked from commit 3c65457156d87e55010507d616b4eecb7a02883d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) ↵ | Miss Islington (bot) | 2021-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-26766) * Make functools types immutable * Multibyte codec types are now immutable * pyexpat.xmlparser is now immutable * array.arrayiterator is now immutable * _thread types are now immutable * _csv types are now immutable * _queue.SimpleQueue is now immutable * mmap.mmap is now immutable * unicodedata.UCD is now immutable * sqlite3 types are now immutable * _lsprof.Profiler is now immutable * _overlapped.Overlapped is now immutable * _operator types are now immutable * winapi__overlapped.Overlapped is now immutable * _lzma types are now immutable * _bz2 types are now immutable * _dbm.dbm and _gdbm.gdbm are now immutable (cherry picked from commit 00710e6346fd2394aa020b2dfae170093effac98) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | bpo-42972: Fully support GC for pyexpat, unicodedata, and dbm/gdbm heap ↵ | Miss Islington (bot) | 2021-05-27 | 1 | -2/+13 |
| | | | | | | | | | | types (GH-26376) * bpo-42972: pyexpat * bpo-42972: unicodedata * bpo-42972: dbm/gdbm (cherry picked from commit 59af59c2dfa52dcd5605185263f266a49ced934c) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | bpo-43916: Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to selected types (GH-25748) | Erlend Egeberg Aasland | 2021-04-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | 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-1635741: Port _gdbm module to multiphase initialization (GH-20920) | Dong-hee Na | 2020-06-16 | 1 | -169/+205 |
| | |||||
* | bpo-32494: Use gdbm_count for dbm_length if possible (GH-19814) | Dong-hee Na | 2020-05-01 | 1 | -5/+25 |
| | |||||
* | bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) | Dong-hee Na | 2020-02-17 | 1 | -1/+1 |
| | |||||
* | bpo-39573: Use Py_TYPE() macro in Modules directory (GH-18393) | Victor Stinner | 2020-02-07 | 1 | -1/+1 |
| | | | Replace direct access to PyObject.ob_type with Py_TYPE(). | ||||
* | bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267) | Jeroen Demeyer | 2019-07-08 | 1 | -1/+1 |
| | |||||
* | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | 2019-05-31 | 1 | -2/+2 |
| | | | | | | | | | (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
* | bpo-8677: use PY_SSIZE_T_CLEAN in Modules/_gdbmodule.c (GH-12464) | Inada Naoki | 2019-03-20 | 1 | -9/+27 |
| | |||||
* | bpo-33106: change dbm key deletion error for readonly file from KeyError to ↵ | Xiang Zhang | 2018-12-12 | 1 | -2/+7 |
| | | | | | | dbm.error (#6295) | ||||
* | Remove a duplicate descriptor in gdbm. (GH-11053) | Serhiy Storchaka | 2018-12-09 | 1 | -1/+0 |
| | |||||
* | bpo-34248: Add filename to error raised in {gnu,ndbm}.open() (GH-8590) | Zsolt Cserna | 2018-09-27 | 1 | -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 Zhang | 2018-06-20 | 1 | -0/+3 |
| | |||||
* | bpo-33901: Add _gdbm._GDBM_VERSION (GH-7794) | Victor Stinner | 2018-06-19 | 1 | -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 Storchaka | 2018-02-26 | 1 | -4/+17 |
| | | | | (GH-5832) | ||||
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 1 | -1/+1 |
| | |||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -10/+5 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Issue #28769: The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() | Serhiy Storchaka | 2017-01-22 | 1 | -1/+1 |
| | | | | is now of type "const char *" rather of "char *". | ||||
* | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -3/+2 |
|\ | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -3/+2 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
|/ | |||||
* | Issue #24000: Improved Argument Clinic's mapping of converters to legacy | Larry Hastings | 2015-05-08 | 1 | -2/+2 |
| | | | | "format units". Updated the documentation to match. | ||||
* | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -2/+2 |
| | | | | instead of types={'type'} to specify the types the converter accepts. | ||||
* | Issue #20184: Converted _dbm and _gdbm modules to Argument Clinic. | Serhiy Storchaka | 2015-04-17 | 1 | -129/+177 |
| | |||||
* | Close #19282: Native context management in dbm | Nick Coghlan | 2013-11-17 | 1 | -0/+16 |
| | |||||
* | Issue #19288: Fixed the "in" operator of dbm.gnu databases for string | Serhiy Storchaka | 2013-10-24 | 1 | -4/+13 |
|\ | | | | | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis. | ||||
| * | Issue #19288: Fixed the "in" operator of dbm.gnu databases for string | Serhiy Storchaka | 2013-10-24 | 1 | -4/+13 |
| | | | | | | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis. | ||||
* | | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 1 | -11/+11 |
|/ | |||||
* | #6045: provide at least get() and setdefault() for all dbm modules. | Georg Brandl | 2010-12-04 | 1 | -0/+47 |
| | |||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -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 the | Mark Dickinson | 2009-02-02 | 1 | -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 the | Brett Cannon | 2008-11-25 | 1 | -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_FindMethod | Amaury Forgeot d'Arc | 2008-07-02 | 1 | -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öwis | 2008-06-11 | 1 | -6/+18 |
| | |||||
* | Make db modules' error classes inherit IOError. | Georg Brandl | 2008-05-28 | 1 | -1/+1 |
| | | | | Stop dbm from importing every dbm module when imported. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -7/+7 |
| | |||||
* | Create the dbm package from PEP 3108. #2881. | Georg Brandl | 2008-05-26 | 1 | -0/+533 |