Message23128
Logged In: YES
user_id=6656
The change you are observing is that special methods are now
only looked up on the *class* of the object concerned. This, or
something like this is actually unavoidable -- in
>>> repr(o)
what do you do if both o and the type of o define a __repr__
method?
There are articles on new-style classes out there that should
explain this in more depth. It probably could/should be
documented better in the core -- there are bugs open to that
effect already.
Closing. |
|
Date |
User |
Action |
Args |
2007-08-23 14:27:27 | admin | link | issue1066490 messages |
2007-08-23 14:27:27 | admin | create | |
|