cpython/Objects
Guido van Rossum 607187325f Change in policy: when a slot_tp_xxx function looks for the __xxx__ method,
don't use getattr, but only look in the dict of the type and base types.
This prevents picking up all sorts of weird stuff, including things defined
by the metaclass when the object is a class (type).

For this purpose, a helper function lookup_method() was added.  One or two
other places also use this.
2001-08-28 17:47:51 +00:00
..
.cvsignore
abstract.c Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
bufferobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
cellobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
classobject.c Improve the error message issued when an unbound method is called with 2001-08-24 18:48:27 +00:00
cobject.c
complexobject.c Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
descrobject.c getset_init(): the function name in the PyArg_ParseTuple() format 2001-08-24 18:49:10 +00:00
dictobject.c Patch #427190: Implement and use METH_NOARGS and METH_O. 2001-08-16 13:15:00 +00:00
fileobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
floatobject.c float_pow: Put *all* of the burden on the libm pow in normal 2001-08-23 22:31:37 +00:00
frameobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
funcobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
intobject.c err_ovf(): only raise OverflowError when OverflowWarning was raised. 2001-08-23 21:32:40 +00:00
iterobject.c Patch #427190: Implement and use METH_NOARGS and METH_O. 2001-08-16 13:15:00 +00:00
listobject.c Patch #427190: Implement and use METH_NOARGS and METH_O. 2001-08-16 13:15:00 +00:00
longobject.c Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
methodobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
moduleobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
object.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
obmalloc.c
rangeobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
sliceobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
stringobject.c Two improvements suggested by Greg Stein: 2001-08-27 03:11:09 +00:00
tupleobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
typeobject.c Change in policy: when a slot_tp_xxx function looks for the __xxx__ method, 2001-08-28 17:47:51 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c Patch #427190: Implement and use METH_NOARGS and METH_O. 2001-08-16 13:15:00 +00:00
unicodetype_db.h
xxobject.c