Description of problem: If PyXML is installed it is used instead of the the xml module in python itself. The implementations are not fully compatible. Affected are for example the sax parsers in firewalld. The in operator is used for attrs in the startElement function. This is not supported in PyXML, but code that is compatible to Python 3 can not use has_key instead of in. Version-Release number of selected component (if applicable): PyXML-0:0.8.4-26.fc15.x86_64 How reproducible: Always Additional info: This is also a problem in F-16.
Roman asked if we could Remove PyXML from Fedora. I'm currently working on analyzing what packages are actually using PyXML to see if we can get rid of it: https://fedoraproject.org/wiki/User:Toshio/Remove_PyXML The precise change you ask for here cannot be done by the PyXML package -- it's a change that has to come from the python stdlib. I'm reassigning this to the python package so that everyone involved knows about this bug but -- our first choice option seems to be to get rid of PyXML altogether. Modifying the python stdlib is the second choice.
Possible workaround for code that requires the stdlib's "xml", rather than PyXML's "_xmlplus" implementation: http://lists.fedoraproject.org/pipermail/python-devel/2012-July/000399.html
A better workaround from Nick Coghlan: http://lists.fedoraproject.org/pipermail/python-devel/2012-July/000403.html import xml xml.__path__.reverse() # If both are available, prefer stdlib over PyXML
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
PyXML has been removed in F19.