GNOME Bugzilla – Bug 340764
python bindings use deprecated python library
Last modified: 2017-06-13 02:10:36 UTC
Building the python bindings for python2.4 for libxml2-2.6.24, python/setup.py reports: /sw/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead. warnings.warn("The xmllib module is obsolete. Use xml.sax instead.", DeprecationWarning) I have no idea what's involved in making the transition, or whether it's best to keep using xmllib until a python is released that no longer has it at all (is there a still-viable version of python that does not have xml.sax?)
I just tried libxml2-2.9.4 against python27 and no longer see this warning. Possibly resolved by NEWS portability item for 2.7.7 "Fix python generator to not use deprecated xmllib (Daniel Veillard)"