Dmitry S. Makovey a écrit :
(snip)
I never used metaclasses before and
decorators seemed to be bit more straight-forward to me :) ..oh well.

Don't be afraid !-) While it's true that they can be a bit confusing at first, metaclasses are just classes - whose instances happens to be classes themselves.

And while you're certainly right to not jump on metaclasses *before* hanving spent a bit time thinking of other possible solutions, there's nothing wrong with using metaclasses when that's really what you need...
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to