Is this a good use of __metaclass__?
Joel Hedlund
joel.hedlund at gmail.com
Tue May 9 04:16:19 EDT 2006
Hi!
Thanks for taking the time to answer. I will definitely have a look at writing
dispatchers.
> The problem you have with your metaclass version, is the infamous
> metaclass conflict.
I think I solved the problem of conflicting metaclasses in this case and I
posted it as a reply to Bruno Desthuilliers in this thread. Do you also think
that's a bad use of __metaclass__? It's not that I'm hellbent on using
metaclasses - I'm just curious how people think they should be used.
Cheers!
/Joel
More information about the Python-list
mailing list