From: Stephan Diehl <stephan.diehl@gm...> - 2003-08-20 12:09:32
On Tuesday 19 August 2003 19:10, Tracy S. Ruggles wrote:
> I use metaclasses for debugging purposes. In my SitePage class I do
> > from WebKit.Page import Page
> > from <my_utils>.Reporter import Reporter
> > class SitePage(Page, object):
> > __metaclass__ = Reporter
> I'm not able to mix old-style and new-style classes without having to
> first use the multiple inheritance trick where 'object' is the second
> class something is inheriting from.
Ah, there's always something new to learn about Python.
This will help me. Thanks
Get latest updates about Open Source Projects, Conferences and News.