Order in metaclass

Ville Vainio ville at spammers.com
Fri Oct 15 08:11:11 EDT 2004


>>>>> "Michele" == Michele Simionato <michele.simionato at gmail.com> writes:

    Michele> Using a "metafunction" is a kind of abuse,
    Michele> yes. Nevertheless, I used this trick to resolve the
    Michele> metaclass conflict:

    Michele> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/204197c

Broken link, I guess you meant:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/204197

I don't think the term "metafunction" is applicable, because calling
it doesn't return a function, and everything that returns a callable
object is at some level a metafunction (at least in the sense
metaclass is a metaclass).

-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list