Inheriting automatic attributes initializer considered harmful?

Andrew Durdin adurdin at gmail.com
Thu Oct 18 08:47:31 EDT 2007


On 10/17/07, Alex Martelli <aleax at mac.com> wrote:
>
> fake_str is not called, because special-method lookup occurs on the
> TYPE, *NOT* on the instance.

So it does; I'd forgotten that.  I need to remember to actually check
that the code does what I think it does before posting it on c.l.p
:-|

Andrew



More information about the Python-list mailing list