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 1QMNps-0008RN-5m for garchives@archives.gentoo.org; Tue, 17 May 2011 17:13:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A70CF1C137; Tue, 17 May 2011 17:13:23 +0000 (UTC) Received: from rookery.halcy0n.com (rookery.halcy0n.com [69.72.242.50]) by pigeon.gentoo.org (Postfix) with ESMTP id 8B3101C058 for ; Tue, 17 May 2011 17:11:57 +0000 (UTC) Received: by rookery.halcy0n.com (Postfix, from userid 1000) id 3B37FA562A; Tue, 17 May 2011 13:11:57 -0400 (EDT) Date: Tue, 17 May 2011 13:11:57 -0400 From: Mark Loeser To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] PyXML Message-ID: <20110517171157.GC12874@halcy0n.com> References: <201105102321.31616.Arfrever@gentoo.org> 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-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <201105102321.31616.Arfrever@gentoo.org> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Archives-Salt: X-Archives-Hash: 0661bbfd913efc724e5b51e6577d1c76 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=utf8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 standard = 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. Calling = of this function will be > necessary to use replace xml module with _xmlplus module. Python >=3D2.= 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: >=20 > 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? --=20 Mark Loeser email - halcy0n AT gentoo DOT org email - mark AT halcy0n DOT com web - http://www.halcy0n.com --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFN0qxdCRZPokWLroQRAnGIAKC6QGaJsZMmQRX+MXps+Ajse+LoSQCfQl1N wdjRyyOSIILmynQV2urJcgs= =vzHW -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--