[Python-3000] Generic functions vs. OO

Phillip J. Eby pje at telecommunity.com
Thu Nov 23 23:27:05 CET 2006


At 09:53 PM 11/23/2006 +0000, Paul Moore wrote:
>OK. So under your proposal, all Python functions are (potentially)
>generic, and addmethod is how you add extra overloads? (And hasmethod
>is pretty obvious, and defop AFAICT is a syntax for addmethod, is that
>right?)
>
>Did I get that right?

Yes, that's exactly it.  Thanks for the succinct summary of the entire 
thing (minus the interface example).  As you may have noticed, I have a 
very hard time doing "succinct".  :)



More information about the Python-3000 mailing list