[Python-3000] Adaption & generic functions [was Generic functions]
Paul Moore
p.f.moore at gmail.com
Sun Apr 9 16:47:04 CEST 2006
On 4/7/06, Eli Stevens (WG.c) <listsub at wickedgrey.com> wrote:
> It seems to me that now to get a duck-typed list, not only do you have
> to implement all of special methods that define "listy-ness," you also
> have to find the overloaded functions that are specialized for lists,
> and register your own implementation (or an implementation specialized
> for lists, if appropriate).
Thanks for raising this - I have similar concerns, but I hadn't
managed to focus them well enough to explain. This is exactly what has
been bugging me.
Paul.
More information about the Python-3000
mailing list