Armin Rigo [EMAIL PROTECTED] writes:
... is that the __adapt__() and __conform__() methods should work just
like all other special methods for new-style classes. The confusion
comes from the fact that the reference implementation doesn't do that.
It should be fixed by replacing:
conform
[Armin]
... is that the __adapt__() and __conform__() methods should work just
like all other special methods for new-style classes. The confusion
comes from the fact that the reference implementation doesn't do that.
It should be fixed by replacing:
conform = getattr(type(obj),
On 2005 Jan 12, at 16:44, Thomas Heller wrote:
...
conform = getattr(type(obj), '__conform__', None)
...
I'm confused. Do you mean that
getattr(obj, somemethod)(...)
does something different than
obj.somemethod(...)
with new style class instances? Doesn't getattr search the