Terry J. Reedy <tjre...@udel.edu> added the comment: My understanding is that what you did: import xml.parsers.expat is now the proper way to use expat. After some searching, it seems the sentence about direct use of pyexpat being deprecated refers to http://sourceforge.net/tracker/?func=detail&aid=2745230&group_id=26590&atid=387667 "The location and name of the PyExpat module have moved in Python v2.6.1 from xml.dom.ext.reader.PyExpat to xml.parsers.expat" This is puzzling becasue xmo.parsers.expat dates back to 2.0 while I see no doc for xml.dom.ext... .
The deprecation notice should be deleted from the 3.x docs. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12829> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com