[Zope3-dev] zope.etree comments
Michael Kerrin
michael.kerrin at openapp.biz
Fri Aug 25 13:27:02 EDT 2006
On Friday 25 August 2006 18:10, Fred Drake wrote:
> On 8/25/06, Michael Kerrin <michael.kerrin at openapp.biz> wrote:
> > What name should I use, I have seen a lot of talk on this but never
> > really followed any of the threads to the end. If you say use X I will. I
> > don't want to start another thread on this.
>
> I think the name is fine. There are packages under zope that don't
> get checked out as core, too, so no need to change it. Ignore the
> namespace packages arguments, those are decoys.
>
> > Exactly. If you need a feature that is only in lxml, just importing lxml
> > is probable the right thing to do.
>
> Yes.
>
> I think a wrapper that understands what versions of ElementTree might
> be available and that implement the basic ElementTree API makes sense.
> With the introduction of xml.etree in Python 2.5, the number of
> possible spellings goes up yet again. Moving all the import cruft to
> a single place makes sense.
>
> I will note that Zope 3 doesn't even come close to being happy with
> Python 2.5. I don't have time to work on that, and a number of
> discussions are probably needed to work everything out. I should
> start a wiki page with notes on what needs to change, but that's a
> separate discussion.
I tried running the Zope3 tests against python2.5 also. It didn't work out to
well :-(
But the my instance did seem to work to a point. It might be worth my time
replacing the Python2.5 support I have with the cElementTree and droping
Python2.5 until this stabilizes
Michael
--
Michael Kerrin
55 Fitzwilliam Sq.,
Dublin 2.
Tel: 087 688 3894
More information about the Zope3-dev
mailing list