Subclassing cElementTree.XMLTreeBuilder

2007-01-24 Thread mukappa
I found an earlier post about subclassing cElementTree.Element which can't be done because it is a factory method. I am trying to subclass XMLTreeBuilder with success using the python implementation, but not with cElementTree. [1013]$ python Python 2.3.4 (#1, Feb 22 2005, 04:09:37) [GCC 3.4.3 200

Re: Subclassing cElementTree.XMLTreeBuilder

2007-01-25 Thread mukappa
On Jan 25, 4:32 am, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: > "mukappa" wrote: > > Is it possible to subclass cElementTree.XMLTreeBuilder?no, it's a factory > > function. if you need to extend it, you'll have to wrap it. but > I'm