Arfrever Frehtes Taifersar Arahesis said: > PyXML is dead: > http://mail.python.org/pipermail/xml-sig/2004-November/010735.html > http://mail.python.org/pipermail/xml-sig/2006-June/011545.html > > PyXML provides _xmlplus module, which replaces xml module (from standard library) at run time, > which might result in various problems. > > I'm planning to implement the following solution: > - Python >=2.7.1-r2:2.7 will provide xml.use_pyxml() function. Calling of this function will be > necessary to use replace xml module with _xmlplus module. Python >=2.7.1-r2:2.7 will be added > to the tree in next week and will be temporarily package.masked. Later this change will be > backported to new versions in older slots. > - All packages, which use PyXML, will have to be patched to call xml.use_pyxml(). The following > code should be added before first import of anything from xml module: > > import xml > if hasattr(xml, "use_pyxml"): > xml.use_pyxml() Is this "use_pyxml" upstream? From what you are saying, it is not. In that case, we have just made patches for every package that will never be allowed upstream. Why not do something more worthwhile than waste the time of having to support something that might just become a problem to maintain in the future? -- Mark Loeser email - halcy0n AT gentoo DOT org email - mark AT halcy0n DOT com web - http://www.halcy0n.com