On May 28, 11:33 pm, Michele Simionato
wrote:
> He is basically showing that using mixins for implementing logging is not
> such a good idea, i.e. you can get the same effect in a better way by making
> use of other Python features. I argued the same thing many times in the past.
> I even wrote
On May 29, 7:33 am, Michele Simionato
wrote:
> He is basically showing that using mixins for implementingloggingis not such
> a good idea,
I don't think he was particularly advocating implementing logging this
way, but rather just using logging for illustrative purposes.
Regards,
Vinay Sajip
-
He is basically showing that using mixins for implementing logging is not such
a good idea, i.e. you can get the same effect in a better way by making use of
other Python features. I argued the same thing many times in the past. I even
wrote a module once (strait) to reimplement 99% of multiple
David Beazley wrote a class decorator blog post that is worth reading:
http://dabeaz.blogspot.com/2011/05/class-decorators-might-also-be-super.html
Raymond
--
http://mail.python.org/mailman/listinfo/python-list