diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2000-10-06 21:08:59 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2000-10-06 21:08:59 (GMT) |
commit | ee1dc157d7f425d8fdd12de098097441b4f17798 (patch) | |
tree | de99623762f47d2e7a103c2fae2655e6f98e4e97 /Lib/os.py | |
parent | c2bac8745dea66529205929fe5aced8c104267d9 (diff) | |
download | cpython-ee1dc157d7f425d8fdd12de098097441b4f17798.zip cpython-ee1dc157d7f425d8fdd12de098097441b4f17798.tar.gz cpython-ee1dc157d7f425d8fdd12de098097441b4f17798.tar.bz2 |
Move translation from expat.error to SAXParseException into feed, so that
callers of feed will get a SAXException.
In close, feed the last chunk first before calling endDocument, so that
the parser may report errors before the end of the document. Don't do
anything in a nested parser.
Don't call endDocument in parse; that will be called in close.
Use self._source for finding the SystemID; XML_GetBase will be cleared in
case of an error.
Diffstat (limited to 'Lib/os.py')
0 files changed, 0 insertions, 0 deletions