PyXML is dead project – warning: PyXML does not work with Python2.6

PyXML project has been dead for several years. Last version was released in 2004.

When you try to install PyXML with Python 2.6 you’ll get following error:

Failed to load application: invalid syntax (ParsedAbbreviatedRelativeLocationPath.py, line 31)

When you try to start PyXML with Python 2.5 you could see nice compiler warning:

python2.5 xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py

xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py:27:

Warning: ‘as’ will become a reserved keyword in Python 2.6

Problem is caused by following line:

as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')

PyXML is dead project. It does not accept patches. Some Linux distros already excluded it from repositories and Windows version for new Python does not exist as well.

Try to avoid using PyXML and replace it e.g. by xml.dom.minidom or elemettree.

No votes yet.
Please wait...

Leave a comment

10. January 2011 at 13:08 - Software engineering (Tags: , , , , ). Both comments and pings are currently closed.

3 Responses to “PyXML is dead project – warning: PyXML does not work with Python2.6”

  • misolietavec says:

    Veru, veru, uz to postihlo aj jeden moj maly program, to “as” – a za otca nie na to prist, lebo v 2.6-ke ten invalidny syntax mi vela nehovoril. Az v 2.5 ma osvietilo :-)

    No votes yet.
    Please wait...
  • nupta says:

    Hey,You can find new version for 2.6 and 2.7 in win here,I just install it:
    http://www.somethinkodd.com/oddthinking/2009/10/31/windows-installer-for-pyxml-0-8-4-for-python-2-6-x/

    No votes yet.
    Please wait...
  • georgik says:

    @nupta Thanks for link :-)
    It looks interesting.

    No votes yet.
    Please wait...