Message18151
Logged In: YES
user_id=80475
Referring to Guido for pronouncement.
I've been thinking that this one could be left alone and just
document that super objects only do their magic upon
explicit attribute lookup.
Otherwise, fixing it completely involves combing Python for
every place that directly calls functions from the slots table,
and then adding a followup call using attribute lookup if the
slot is empty.
When it comes to functions like repr(obj), I think we want
the super object to identify itself rather than forwarding the
call to the target object's __repr__() method.
The downside of leaving it alone is that it breaks the
symmetry between obj[k] and obj.__getitem__[k].
|
|
Date |
User |
Action |
Args |
2007-08-23 14:16:48 | admin | link | issue805304 messages |
2007-08-23 14:16:48 | admin | create | |
|