cpython/Objects
Guido van Rossum 5b443c6282 Address SF patch #480716 as well as related issues.
SF patch #480716 by Greg Chapman fixes the problem that super's
__get__ method always returns an instance of super, even when the
instance whose __get__ method is called is an instance of a subclass
of super.

Other issues fixed:

- super(C, C()).__class__ would return the __class__ attribute of C()
  rather than the __class__ attribute of the super object.  This is
  confusing.  To fix this, I decided to change the semantics of super
  so that it only applies to code attributes, not to data attributes.
  After all, overriding data attributes is not supported anyway.

- While super(C, x) carefully checked that x is an instance of C,
  super(C).__get__(x) made no such check, allowing for a loophole.
  This is now fixed.
2001-12-03 15:38:28 +00:00
..
.cvsignore
abstract.c PyObject_GetItem(), PyObject_SetItem(), PyObject_DelItem(): Fix a few 2001-11-24 18:24:47 +00:00
bufferobject.c Fix for Bug #216405: 2001-10-19 13:49:35 +00:00
cellobject.c
classobject.c Be smarter about clearing the weakref lists for instances, instance methods, 2001-10-26 17:56:51 +00:00
cobject.c
complexobject.c complex_to_buf(), complex_subtype_from_c_complex(): Conversion of 2001-11-28 20:50:56 +00:00
descrobject.c Methods of built-in types now properly check for keyword arguments 2001-10-22 00:43:43 +00:00
dictobject.c Rename "dictionary" (type and constructor) to "dict". 2001-10-29 22:25:45 +00:00
fileobject.c Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the 2001-11-30 14:16:36 +00:00
floatobject.c PyFloat_AsStringEx(): This function takes an output char* but doesn't 2001-11-28 22:43:45 +00:00
frameobject.c
funcobject.c Be smarter about clearing the weakref lists for instances, instance methods, 2001-10-26 17:56:51 +00:00
intobject.c SF bug #487743: test_builtin fails on 64 bit platform. 2001-12-01 02:52:56 +00:00
iterobject.c
listobject.c
longobject.c long_true_divide(): decref its converted arguments. test_long_future.py 2001-11-04 23:09:40 +00:00
methodobject.c
moduleobject.c Add missing "static" declarations (found by "make smelly"). 2001-10-21 22:28:58 +00:00
object.c Rehabilitated the fast-path richcmp code, and sped it up. It wasn't 2001-11-04 07:29:31 +00:00
obmalloc.c
rangeobject.c
sliceobject.c Add values to tp_getattro and tp_flags so that dir(Ellipsis) will 2001-10-30 02:40:52 +00:00
stringobject.c Add more inline documentation, as contributed in #487906. 2001-12-03 08:24:52 +00:00
structseq.c structseq_new(): Conversion of sprintf() to PyOS_snprintf() for buffer 2001-11-28 20:56:44 +00:00
tupleobject.c
typeobject.c Address SF patch #480716 as well as related issues. 2001-12-03 15:38:28 +00:00
unicodectype.c
unicodeobject.c formatfloat(), formatint(): Conversion of sprintf() to PyOS_snprintf() 2001-11-28 21:00:41 +00:00
unicodetype_db.h
weakrefobject.c weakref_repr(), proxy_repr(): Conversion of sprintf() to 2001-11-28 21:01:56 +00:00
xxobject.c