From http://159.18.52.69/raw/983493

Error:


Traceback (most recent call last):
File "test.py", line 12, in module
from xml.dom.ext.reader import HtmlLib
ImportError: No module named ext.reader

Fix/workaround:


+ sys.path.append('/usr/lib/python%s/site-packages/oldxml' % sys.version[:3])
from xml.dom.ext.reader import HtmlLib

I had an old Python script doing some XML work and after upgrade to Ubuntu 8.04 I started getting the above error message and had to use the above fix because the Ubuntu packages of python-xml moved the xml.dom.ext.* to /usr/lib/python2.5/site-packages/oldxml for some reason. Have not looked at the latest Debian packages. Does anyone know why such back-compatibility breaking change was introduced? All I find on Google are the people getting bitten by this bug and no reasoning or even discussion behind the change.