[Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc.

Greg Ewing greg.ewing at canterbury.ac.nz
Sat May 12 02:54:30 CEST 2007

Phillip J. Eby wrote:
> you can register your types with other people's 
> generic functions, or other people's types with your generic 
> functions,

There's still a possibility of conflict even then. Fred
registers one of Mary's types with his generic function,
which he feels entitled to do because he owns the function.
Meanwhile, Mary registers the same type with the same
function, which she feels entitled to do because she
owns the type.

The problem is that nobody entirely owns the (type,
function) pair, which is what's required to be unique.


More information about the Python-3000 mailing list