mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
e3c37d660f
If pyexpat is not available and more than one attempt is made to load an expat-based xml parser, an empty xml.parser.expat module will be created. This empty module will confuse xml.sax.expatreader into thinking that pyexpat is available. The ugly fix is to verify that the expat module actually defines the names that are imported from pyexpat. |
||
---|---|---|
.. | ||
__init__.py | ||
_exceptions.py | ||
expatreader.py | ||
handler.py | ||
saxutils.py | ||
xmlreader.py |