On Monday 26 February 2007 11:12 am, Christoph Thiel wrote: > > A list of differences can be found at > > http://codespeak.net/lxml/compatibility.html > > Are you sure this is really the in-tree Python 2.5 etree.xml? It looks like > a different thing to me -- at first glace.
Ah, you're right. lxml.etree is an ElementTree implementation under lxml, and xml.etree is a subset of Fredrik Lundh's module. > > I have no problem porting my code, but other people may have trouble. Why > > not make ElementTree raise a DeprecationWarning for a short period to > > give people a chance to catch up? > > I guess we can add the package back, in case it really turns out to be a > problem. But as of today I'm not aware of any. According to this, xml.etree is a subset of the full distribution: http://docs.python.org/whatsnew/modules.html#SECTION0001420000000000000000 For myself, this is not really a problem, since I can update my code and I only use core features. However, there are plenty of programs that use ElementTree directly that are not supplied in OpenSUSE. I know of a couple of programs that are using local forks of some of my code using ElementTree. -- James Oakley [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
