summaryrefslogtreecommitdiffstats
path: root/Modules/dbmmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* SF Patch #103185, by jlt63: Some more standard modules cleanup for CygwinGuido van Rossum2001-01-221-1/+2
|
* Ka-Ping Yee <ping@lfw.org>:Fred Drake2000-10-241-3/+3
| | | | | | Changes to error messages to increase consistency & clarity. This (mostly) closes SourceForge patch #101839.
* Add a constant "library" to the module which names the library used,Fred Drake2000-09-151-10/+80
| | | | | | | | | | | | based on the available headers. Update comments on the filename extensions used to reflect library differences. Added get() and setdefault() methods to the dbm object. Added docstrings, convert all methods to PyArg_ParseTuple() so that error messages will have the method names.
* Trent Mick points out that the BSD DB also provides an ndbm compatibilityFred Drake2000-09-151-0/+2
| | | | layer. If that is available, consider that as an option as well.
* Use the configure support to determine which ndbm.h header to include.Fred Drake2000-09-141-0/+10
|
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* ANSIfy some more forward declarations.Thomas Wouters2000-07-241-1/+1
|
* ANSI-fication, not really tested, but should (hopefully) compilePeter Schneider-Kamp2000-07-101-29/+10
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* 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.
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* 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/+14
|
* Opps, fixed a couple of newly introduced wrapping problems.Roger E. Masse1996-12-131-3/+4
|
* Reindented via GvR recomendation ala Bwarsaw cppy-style.elRoger E. Masse1996-12-131-69/+69
|
* renamed in a grand fashion.Roger E. Masse1996-12-101-74/+76
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-1/+0
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* fix bug in close()Guido van Rossum1995-08-281-1/+0
|
* normalized flag arg and made flag, mode default args; minor cosmeticsGuido van Rossum1995-07-071-20/+35
|
* plug leak and improve error handling in dbm_keys()Guido van Rossum1995-01-301-5/+13
|
* 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.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-17/+19
|
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-2/+2
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* Added qgetfd() to cstubs for GL.Guido van Rossum1992-06-291-0/+276
Added new module dbm (interface to ndbm).