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 1QJuOB-0002vG-ER for garchives@archives.gentoo.org; Tue, 10 May 2011 21:22:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8453A1C09A; Tue, 10 May 2011 21:22:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A58DB1C07B for ; Tue, 10 May 2011 21:22:06 +0000 (UTC) Received: from afta-gentoo.localnet (ip-85-198-244-135.broker.com.pl [85.198.244.135]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: arfrever) by smtp.gentoo.org (Postfix) with ESMTPSA id 1C35D1B4029 for ; Tue, 10 May 2011 21:22:06 +0000 (UTC) From: Arfrever Frehtes Taifersar Arahesis To: Gentoo Development Subject: [gentoo-dev] PyXML Date: Tue, 10 May 2011 23:21:30 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.34-tuxonice-r8-AFTA; KDE/4.4.5; x86_64; ; ) 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; boundary="nextPart2532651.2lLKjqIUPO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201105102321.31616.Arfrever@gentoo.org> X-Archives-Salt: X-Archives-Hash: 58d75e371edaadf8efac2558e03f66d0 --nextPart2532651.2lLKjqIUPO Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 li= brary) at run time, which might result in various problems. I'm planning to implement the following solution: =2D 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 th= is change will be backported to new versions in older slots. =2D 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() This code works with previous versions of Python, so no changes in depend= encies are needed. =2D-=20 Arfrever Frehtes Taifersar Arahesis --nextPart2532651.2lLKjqIUPO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJNyaxbAAoJENgZr6v6gHY0FX4P/iyPn8r1dMCoHyjhIl7p2iE+ MMlbC7/UXi+OtNbMKIY/vZKUEtOPZni9LG4Ptcn0tcxZlpOydOtkxbC6iqSq6EdG Kn2Z7dLDkErFGeuuezVgZqWc0050vVZPbzKkDh9La76ZaE2Yl7WuDBh5/pwjpS6e WN2XltE+uJ9XFGWQA8n110L+Hdwok5HN+4LlJkaSgapkDlWkg2AB8RV/LV0OJXV9 vpvnA9VXxoFNRMxv6kNy3ii3jlhWgD+vq3B08KWiCtArlPTjc2GhZVRfRlVJQhJ3 787nU5WLXLEP3oRj6caagBFxykudOfWmf2h0BXleTlcW1KLIAxonBFdzEv0SX40g iwZBeJRe+Dlb3N2c05fajt3UL4HKc9lSFMExiKawFV2t09D6+3enJ7x1/Ts25y21 4wMa7dbCIOVmtaK5TuqQS7JGc4YkpePSMvHtFX4D8OQLGTc8NluBK58bO+Q9ey6u K6yarM4JDbUNxVZUxSN0QVVyuMTW8IHGxKq1ZaIEQzA2gej+rnUkdRLa4MCXm4ol TyytJ4dKr0Led1od/qCmsO34TQVgj0ukoyXFF2apJNEUCsJqTs0aajqpGw6ShJtD no5bpLTH9ZA5W+sIrbgaa65QG6YWmM0my56AAJOZQz6gY8oJhIrbEems3kFdrCxb DPltTk0+IfaoQmFOxGGt =VkHK -----END PGP SIGNATURE----- --nextPart2532651.2lLKjqIUPO--