public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] PyXML
@ 2011-05-10 21:21 Arfrever Frehtes Taifersar Arahesis
  2011-05-11 10:30 ` Tomáš Chvátal
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2011-05-10 21:21 UTC (permalink / raw
  To: Gentoo Development

[-- Attachment #1: Type: Text/Plain, Size: 1055 bytes --]

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()

  This code works with previous versions of Python, so no changes in dependencies are needed.

-- 
Arfrever Frehtes Taifersar Arahesis

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-05-17 20:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-10 21:21 [gentoo-dev] PyXML Arfrever Frehtes Taifersar Arahesis
2011-05-11 10:30 ` Tomáš Chvátal
2011-05-11 17:53   ` Arfrever Frehtes Taifersar Arahesis
2011-05-17 17:11 ` Mark Loeser
2011-05-17 17:32   ` Markos Chandras
2011-05-17 18:19     ` Arfrever Frehtes Taifersar Arahesis
2011-05-17 18:24       ` Mark Loeser
2011-05-17 18:33         ` Arfrever Frehtes Taifersar Arahesis
2011-05-17 18:29   ` Arfrever Frehtes Taifersar Arahesis
2011-05-17 18:43 ` Tomáš Chvátal
2011-05-17 19:12   ` Arfrever Frehtes Taifersar Arahesis
2011-05-17 19:21     ` Tomáš Chvátal
2011-05-17 20:53       ` Arfrever Frehtes Taifersar Arahesis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox