summaryrefslogtreecommitdiffstats
path: root/Modules/gdbmmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-2/+2
| | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-1/+1
| | | | PyArg_ParseTuple() format string arguments as possible.
* Protect against core dumps in gdbm: don't allow access by key once theFred Drake2000-02-071-2/+8
| | | | | | database is closed. Raise gdbm.error instead. Bug report #198 submitted by Barry Haddow <bhaddow@orbism.com>.
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* No need for (char *) cast from gdbm_strerror().Guido van Rossum1998-10-031-5/+3
|
* Win32 port. Patches by Milton L. Hankins.Guido van Rossum1998-10-031-1/+7
|
* Don't allow unescaped newlines in doc strings.Guido van Rossum1998-04-131-2/+1
|
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-19/+107
| | | | Also got rid of some inconsistent change log comments near the top.
* Apply two changes, systematically:Guido van Rossum1997-10-011-3/+3
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Patches by AMK to check that the db is still open.Guido van Rossum1997-07-171-0/+20
|
* As per GvR recomendation, added support for a 'sync' attribute for theRoger E. Masse1997-03-251-0/+18
| | | | GDBM module.
* Renamed in a grand-ee-ous way!Roger E. Masse1996-12-171-171/+176
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Rewritten keys() and has_key() to avoid memory leaks.Guido van Rossum1996-07-211-11/+17
|
* support fast mode for gdmbGuido van Rossum1996-01-261-9/+16
|
* fix leaks in keys(); fix bug in close()Guido van Rossum1995-08-281-4/+11
|
* normalized flag arg and made flag, mode default args; minor cosmeticsGuido van Rossum1995-07-071-9/+27
|
* added firstkey(), nextkey(), reorganize() methodsGuido van Rossum1995-03-161-0/+64
|
* plugged some memory leaks (Steve Clift)Guido van Rossum1995-03-141-9/+16
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Free was called with a struct as argument instead of a field from theSjoerd Mullender1994-10-131-2/+2
| | | | struct.
* * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: addedGuido van Rossum1994-08-081-0/+279
Anthony Baxter's gdbm module (derived from Jack's dbm module)