summaryrefslogtreecommitdiffstats
path: root/Modules/dbmmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* 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).