Guido van Rossum
a9c2d7a87c
Add new spares to the end of the type object struct.
1998-04-23 19:16:44 +00:00
Guido van Rossum
26d4ac30be
Add prototypes for Py_Repr{Enter,Leave}.
...
(Jeremy will hardly recognize his patch :-)
1998-04-10 22:32:24 +00:00
Guido van Rossum
c3d3f9692d
Add PyObject_Not().
1998-04-09 17:53:59 +00:00
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