Neal Norwitz wrote:
> http://python.org/sf/1513611
> xml.sax.ParseException weirdness in python 2.5b1. The following code
> doesn't work:
>
> from xml.sax import make_parser, SAXParseException
>
> parser = make_parser()
> try:
>parser.parse(StringIO('invalid'))
> except SAXParseException:
>
http://python.org/sf/1513611
xml.sax.ParseException weirdness in python 2.5b1. The following code
doesn't work:
from xml.sax import make_parser, SAXParseException
parser = make_parser()
try:
parser.parse(StringIO('invalid'))
except SAXParseException:
print 'caught it!'
Any comments?
n