Commit Graph

15 Commits

Author SHA1 Message Date
Guido van Rossum bfc49e8c75 Doc strings added by Mitch Chapman.
Also got rid of some inconsistent change log comments near the top.
1998-03-03 22:02:24 +00:00
Guido van Rossum 0cb96de269 Apply two changes, systematically:
(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!
1997-10-01 04:29:29 +00:00
Guido van Rossum 77eecfa94d Patches by AMK to check that the db is still open. 1997-07-17 22:56:01 +00:00
Roger E. Masse e5a9c8fa31 As per GvR recomendation, added support for a 'sync' attribute for the
GDBM module.
1997-03-25 17:39:56 +00:00
Roger E. Masse b15bef85a7 Renamed in a grand-ee-ous way! 1996-12-17 19:55:33 +00:00
Guido van Rossum d266eb460e New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
Guido van Rossum 3be7140d31 Rewritten keys() and has_key() to avoid memory leaks. 1996-07-21 02:32:44 +00:00
Guido van Rossum e36e1fe516 support fast mode for gdmb 1996-01-26 21:08:01 +00:00
Guido van Rossum 66017aa1b8 fix leaks in keys(); fix bug in close() 1995-08-28 02:58:00 +00:00
Guido van Rossum 807b7bec06 normalized flag arg and made flag, mode default args; minor cosmetics 1995-07-07 22:37:11 +00:00
Guido van Rossum fbd30e9159 added firstkey(), nextkey(), reorganize() methods 1995-03-16 16:07:34 +00:00
Guido van Rossum b045afc711 plugged some memory leaks (Steve Clift) 1995-03-14 15:04:40 +00:00
Guido van Rossum 524b588553 Added 1995 to copyright message.
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.
1995-01-04 19:10:35 +00:00
Sjoerd Mullender 2abc49458b Free was called with a struct as argument instead of a field from the
struct.
1994-10-13 09:11:13 +00:00
Guido van Rossum 4b4c664d2e * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added
Anthony Baxter's gdbm module (derived from Jack's dbm module)
1994-08-08 08:06:37 +00:00