Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 1 | -1/+1 |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. | ||||
* | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 1 | -3/+2 |
| | | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. | ||||
* | Make use of METH_O and METH_NOARGS where possible. | Georg Brandl | 2006-05-29 | 1 | -21/+10 |
| | | | | Use Py_UnpackTuple instead of PyArg_ParseTuple where possible. | ||||
* | Fix gcc (4.0.x) warning about use of uninitialized variable. | Thomas Wouters | 2006-03-01 | 1 | -0/+1 |
| | |||||
* | Merge ssize_t branch. | Martin v. Löwis | 2006-02-15 | 1 | -2/+2 |
| | |||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | [Bug #982806] The default argument for opening GDBM files is bogus. Patch ↵ | Andrew M. Kuchling | 2004-07-07 | 1 | -1/+1 |
| | | | | #984672 by James Lamanna | ||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -1/+1 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | staticforward bites the dust. | Jeremy Hylton | 2002-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation. | ||||
* | Patch #568124: Add doc string macros. | Martin v. Löwis | 2002-06-13 | 1 | -30/+30 |
| | |||||
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment. | ||||
* | sprintf -> PyOS_snprintf in some "obviously safe" cases. | Tim Peters | 2001-11-28 | 1 | -1/+2 |
| | | | | | Also changed <>-style #includes to ""-style in some places where the former didn't make sense. | ||||
* | Patch in bug report #477700: Fix memory leaks in gdbm & curses. | Martin v. Löwis | 2001-11-11 | 1 | -3/+4 |
| | |||||
* | SF patch 404928: Support for next Cygwin gcc (2.95.2-8) | Tim Peters | 2001-02-28 | 1 | -1/+1 |
| | |||||
* | Add support for gdbm2 open flags ('s' and 'u'). Add module constant | Neil Schemenauer | 2000-12-17 | 1 | -12/+54 |
| | | | | | open_flags which contains the flags supported by gdbm. Closes patch #102802. | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | ANSIfy some more forward declarations. | Thomas Wouters | 2000-07-24 | 1 | -1/+1 |
| | |||||
* | ANSI-fy the sources. | Fred Drake | 2000-07-08 | 1 | -313/+287 |
| | | | | | | Convert to using PyArg_ParseTuple() as appropriate to allow method names in error messages. Re-indent to four-space indentation. | ||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | Vladimir Marangozov's long-awaited malloc restructuring. | Guido van Rossum | 2000-05-03 | 1 | -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 many | Guido van Rossum | 2000-02-29 | 1 | -1/+1 |
| | | | | PyArg_ParseTuple() format string arguments as possible. | ||||
* | Protect against core dumps in gdbm: don't allow access by key once the | Fred Drake | 2000-02-07 | 1 | -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 used | Guido van Rossum | 1998-12-04 | 1 | -1/+1 |
| | | | | on BeOS or Windows. | ||||
* | No need for (char *) cast from gdbm_strerror(). | Guido van Rossum | 1998-10-03 | 1 | -5/+3 |
| | |||||
* | Win32 port. Patches by Milton L. Hankins. | Guido van Rossum | 1998-10-03 | 1 | -1/+7 |
| | |||||
* | Don't allow unescaped newlines in doc strings. | Guido van Rossum | 1998-04-13 | 1 | -2/+1 |
| | |||||
* | Doc strings added by Mitch Chapman. | Guido van Rossum | 1998-03-03 | 1 | -19/+107 |
| | | | | Also got rid of some inconsistent change log comments near the top. | ||||
* | Apply two changes, systematically: | Guido van Rossum | 1997-10-01 | 1 | -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 Rossum | 1997-07-17 | 1 | -0/+20 |
| | |||||
* | As per GvR recomendation, added support for a 'sync' attribute for the | Roger E. Masse | 1997-03-25 | 1 | -0/+18 |
| | | | | GDBM module. | ||||
* | Renamed in a grand-ee-ous way! | Roger E. Masse | 1996-12-17 | 1 | -171/+176 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Rewritten keys() and has_key() to avoid memory leaks. | Guido van Rossum | 1996-07-21 | 1 | -11/+17 |
| | |||||
* | support fast mode for gdmb | Guido van Rossum | 1996-01-26 | 1 | -9/+16 |
| | |||||
* | fix leaks in keys(); fix bug in close() | Guido van Rossum | 1995-08-28 | 1 | -4/+11 |
| | |||||
* | normalized flag arg and made flag, mode default args; minor cosmetics | Guido van Rossum | 1995-07-07 | 1 | -9/+27 |
| | |||||
* | added firstkey(), nextkey(), reorganize() methods | Guido van Rossum | 1995-03-16 | 1 | -0/+64 |
| | |||||
* | plugged some memory leaks (Steve Clift) | Guido van Rossum | 1995-03-14 | 1 | -9/+16 |
| | |||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 1 | -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 the | Sjoerd Mullender | 1994-10-13 | 1 | -2/+2 |
| | | | | struct. | ||||
* | * Modules/{Setup.in, gdbmmodule.c}, Doc/{lib,libgdbm}.tex: added | Guido van Rossum | 1994-08-08 | 1 | -0/+279 |
Anthony Baxter's gdbm module (derived from Jack's dbm module) |