From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QMO8p-0001Mi-Vh for garchives@archives.gentoo.org; Tue, 17 May 2011 17:33:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 773CB1C07F; Tue, 17 May 2011 17:32:59 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id C17F21C03C for ; Tue, 17 May 2011 17:32:29 +0000 (UTC) Received: by wyi11 with SMTP id 11so720928wyi.40 for ; Tue, 17 May 2011 10:32:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=+el+NiIRD2DtaesxHPu971hHFkG3SnySjD/DC1E+Nrc=; b=vEtJvolsIFNlT3QXbyGbacuSpcuJa6Ru14PnYf2Y/AYTk/FFss+dSZnpgQ89K2WZ3+ 4zBpvgk2MIXga0JDIXLxGvkJW2S3RsLM3FCueHEeyv+rPJBp8Kb3vvAP6Ii/mn66Prl2 ZyZDaDpFSxTwDtLIZbkGUjdz0IZOmKhM80rH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=bAuw3EMc8lOf33YsPc2AUeO5wsW50mUoPQvdhelqpWN2SBG8rCQj6VHlXqKDc7yl5W 2sK5stTg1/vBntY+IeindUbfBBM8somGoi50HA03MSI3wjUBaw6b2fr4ucz1JgJrARhT SvlgyAoMclww+uctPpVjskJuIHLGU4d0kOIk8= Received: by 10.216.65.203 with SMTP id f53mr4010582wed.54.1305653548529; Tue, 17 May 2011 10:32:28 -0700 (PDT) Received: from Eternity.halls.manchester.ac.uk (wh147a.halls.manchester.ac.uk [130.88.185.147]) by mx.google.com with ESMTPS id k2sm470338wby.17.2011.05.17.10.32.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 May 2011 10:32:27 -0700 (PDT) Sender: Markos Chandras Date: Tue, 17 May 2011 18:32:23 +0100 From: Markos Chandras To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] PyXML Message-ID: <20110517173223.GA15393@Eternity.halls.manchester.ac.uk> References: <201105102321.31616.Arfrever@gentoo.org> <20110517171157.GC12874@halcy0n.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20110517171157.GC12874@halcy0n.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: 1a027f4c93c4dbb9ba40fa6b6d684db8 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 17, 2011 at 01:11:57PM -0400, Mark Loeser wrote: > 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 > >=20 > > PyXML provides _xmlplus module, which replaces xml module (from standar= d library) at run time, > > which might result in various problems. > >=20 > > I'm planning to implement the following solution: > > - Python >=3D2.7.1-r2:2.7 will provide xml.use_pyxml() function. Callin= g of this function will be > > necessary to use replace xml module with _xmlplus module. Python >=3D= 2.7.1-r2:2.7 will be added > > to the tree in next week and will be temporarily package.masked. Late= r this change will be > > backported to new versions in older slots. > > - All packages, which use PyXML, will have to be patched to call xml.us= e_pyxml(). The following > > code should be added before first import of anything from xml module: > >=20 > > import xml > > if hasattr(xml, "use_pyxml"): > > xml.use_pyxml() >=20 > 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? >=20 > --=20 > Mark Loeser > email - halcy0n AT gentoo DOT org > email - mark AT halcy0n DOT com > web - http://www.halcy0n.com I second that. Why do we need to make all the work fixing packages instead of letting upstream do their job? I am not so excited to=20 fix every package I maintain as it is quite possible to introduce regressions in the process. Furthermore, I don't understand your first message. You say that you will provide xml.use_pyxml() function on python-2.7. Is this code official or you are just patching the official python releases? Anyway, as I said, I'd rather wait for upstream to fix their packages instead of me. Regards, --=20 Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2 --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAEBCgAGBQJN0rEnAAoJEPqDWhW0r/LCUE8P/1zxXukMehEZpICCrWHY6p8W Z5awHAyXuJSHQ+nhQhrNpCTlWMXmIf0FwjkCF8FGZcBCvwHjo9zkJ7BDfvA5K3XZ AP/Oo2MbEdA4sI9DDDWcV3/js33NdWCfGwAzqwCKLjz18fB4ifbEm7EkGMJi+ROr vkN1PP/Hg4Bi4xEfgLRMD/hyXl7Z7zdggGsaa1r0pPqN3CrHjbgjg0pd/e83V+0R GCArFdmn2vrAmJhzKQ/1ogM61onCU6mPn4ThOce85nQK5iDDr3tTzPy1OR8FtJGu mxaDGHO56T9atCuVzEMG/hIHIE7PTJwqjffwlzMjwxaD4v69686SxUCqqURMmiv7 3QgWPybrUGNh3MdiO+RwjOSBc74Hdx9YWZTm0NPhO3PyBkUPKpG+LqXEml2sJNv1 0ct6xfO9G1gPrjcrnejZNwEacQYcwI0WUZi0XtgXZQB9HeHAm/d3+WdoyPnh6uXc R35KZ8K3E66e3i4J9hL1I+a+ym03fvt3uOGnizq8YCI1TazuVEaWmPitirDJq6AJ NO8QAUusnkVmdJcJSCbnxBG4d+ufiTNC3Xymk90jek5388u5WycaJjRDBzc+34UF dTyA7C2jGufwgS3AOZVqNA0Hg8/srStCKxyFtuFYJjOyqoV1Z8Y2/aMFltjgORDo nOx12wueeec8MPeyVfPG =ut2a -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--