On 28.03.2007, at 22:38, Christian Tismer wrote:

>
> I thing we *always* can call the object's __str__ method if it
> is RPython code.
> What needs to be added is a handler routine. It must be registered
> as a function that specializes on the type of its argument. This
> way it will be the right __str__ call for every type.
>
> ciao -- chris
>

correction:
I think some special casing is necessary because we don't use
the __str__ lookup for builtin types, ASFAIK.
The rest probably holds. Maybe I give it a whirl,
tomorrow.

g'night - chris

_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to