Commit Graph

24 Commits

Author SHA1 Message Date
Guido van Rossum ffcc3813d8 Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
Guido van Rossum fd71b9e9d4 Change copyright notice. 2000-06-30 23:50:40 +00:00
Guido van Rossum b18618dab7 Vladimir Marangozov's long-awaited malloc restructuring.
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.)
2000-05-03 23:44:39 +00:00
Guido van Rossum 43713e5a28 Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
2000-02-29 13:59:29 +00:00
Fred Drake da8d216eb2 Protect against core dumps in gdbm: don't allow access by key once the
database is closed.  Raise gdbm.error instead.

Bug report #198 submitted by Barry Haddow <bhaddow@orbism.com>.
2000-02-07 17:19:41 +00:00
Guido van Rossum 3886bb6997 Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.
1998-12-04 18:50:17 +00:00
Guido van Rossum 573788eef1 No need for (char *) cast from gdbm_strerror(). 1998-10-03 05:15:07 +00:00
Guido van Rossum b6e2a99aa6 Win32 port. Patches by Milton L. Hankins. 1998-10-03 05:13:27 +00:00
Guido van Rossum cef113c524 Don't allow unescaped newlines in doc strings. 1998-04-13 18:11:55 +00:00
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