Overriding a method at the instance level on a subclass of a builtin type

Zac Burns zac256 at gmail.com
Thu Dec 4 19:01:35 EST 2008


Ok. Feature request then - assignment of a special method name to an
instance raises an error.

--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games



On Thu, Dec 4, 2008 at 10:13 AM, George Sakkis <george.sakkis at gmail.com> wrote:
> On Dec 4, 1:03 pm, "Zac Burns" <zac... at gmail.com> wrote:
>> Ok... but why are the special methods handled differently?
>
> Because otherwise they wouldn't be special ;-) And also for
> performance and implementation reasons I believe.
>
> George
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list