Guido van Rossum
127b8dd8d4
Add declaration for PyNumber_CoerceEx().
1997-11-19 16:04:54 +00:00
Guido van Rossum
114c1eabbb
#Added prototype for PyObject_HasAttr() -- must've been an oversight.
1997-09-06 18:44:59 +00:00
Fred Drake
49bb0e32a0
Fix in trailing comment: PyDict_SetItemString() does *not* consume a reference
...
count, PyList_SetItem() does. Very confusing!
1997-09-05 17:53:53 +00:00
Guido van Rossum
1d529d1ecd
Add a cast to the call to _Py_Dealloc in the expanded version of
...
Py_DECREF, to reduce the warnings when compiling with reference count
debugging on. (There are still warnings for each call to
_Py_NewReference -- too bad.)
1997-08-05 02:30:44 +00:00
Guido van Rossum
d0c87ee6c4
Oops, another forgotten renaming: varobject -> PyVarObject.
1997-05-15 21:31:03 +00:00
Guido van Rossum
fdf95dd525
Checkin of Jack's buffer mods.
...
Not really checked, but didn't fail any tests either...
1997-05-05 22:15:02 +00:00
Guido van Rossum
408027ea46
Rename DEBUG macro to Py_DEBUG
1996-12-30 16:17:54 +00:00
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
1996-10-25 14:44:06 +00:00
Guido van Rossum
d86b38003d
Added extern declarations for reference count admin debug functions.
1996-08-12 21:31:32 +00:00
Guido van Rossum
0693dd232e
Added tp_getattro, tp_setattro (Sjoerd)
1996-08-09 20:48:52 +00:00
Guido van Rossum
e1cd6c175b
don't use NDEBUG
1996-05-24 20:43:12 +00:00
Guido van Rossum
60be1db9a9
Added some visual enhancements of debugging ifdefs.
...
Added PyNumber_Coerce decl.
1996-05-22 16:33:22 +00:00
Guido van Rossum
454674d5db
add forgotten PyObject_SetAttrString
1995-07-26 17:53:29 +00:00
Guido van Rossum
884afd654a
keyword arguments and faster function calls
1995-07-18 14:21:06 +00:00
Sjoerd Mullender
107c747009
DL_IMPORT needs an argument.
1995-04-25 11:53:24 +00:00
Jack Jansen
5dbc7231a0
DL_IMPORT macro was called in a funny way (and MW barfed on it)
1995-04-23 22:06:05 +00:00
Sjoerd Mullender
91e7a0bd2a
Also count UNREF's as freeing an object (only relevant when
...
COUNT_ALLOCS is defined).
1995-04-06 13:47:48 +00:00
Guido van Rossum
6f9e433ab3
fix dusty debugging macros
1995-03-29 16:57:48 +00:00
Guido van Rossum
051ab123b4
make the type a parameter of the DL_IMPORT macro, for Borland C
1995-02-27 10:17:52 +00:00
Guido van Rossum
57836fe998
change in staticforward -- added statichere
1995-02-21 21:06:10 +00:00
Guido van Rossum
b13afdd6f4
added PyObject_IsTrue & PyCallable_Check to object interface
1995-02-17 15:01:21 +00:00
Guido van Rossum
938178283c
new names for lots of new functions
1995-01-17 16:01:01 +00:00
Guido van Rossum
caa6380886
The great renaming, phase two: all header files have been updated to
...
use the new names exclusively, and the linker will see the new names.
Files that import "Python.h" also only see the new names. Files that
import "allobjects.h" will continue to be able to use the old names,
due to the inclusion (in allobjects.h) of "rename2.h".
1995-01-12 11:45:45 +00:00
Guido van Rossum
6fde390655
new tp_str and tp_doc members in type object
1995-01-07 10:32:04 +00:00
Guido van Rossum
5799b52008
Added 1995 copyright.
...
object.h: made sizes and refcnts signed ints.
stringobject.h: make getstrsize() signed int.
methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
1995-01-04 19:06:22 +00:00