On Friday 23 February 2007 5:07 pm, Christoph Thiel wrote:
> On Fri, Feb 23, 2007 at 02:22:27PM -0400, James Oakley wrote:
> > I've noticed that python-elementtree was removed in Factory. Will it be
> > returning?
>
> No, most likely it won't.
>
> > It's a very popular module that's used in a lot of Python projects,
> > including osc.
>
> osc already has code in place to use Python 2.5's xml.etree. (We just need
> to drop the python-elementtree requirement for $dist >= 10.2). All other
> packages that depended on python-elementtree should have been patched to
> use xml.etree. If there are still hidden problems with this, let me know!
>
> Is there any functionally that existed in python-elementtree, which is not
> part of xml.etree that you relied on? (I only know of SimpleXMLWriter,
> which was only used by repoview and therefore is now being shipped with
> repoview.)

A list of differences can be found at 
http://codespeak.net/lxml/compatibility.html

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?

-- 
James Oakley
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to