[Python-Dev] xml issue in 2.5 (original) (raw)
Neal Norwitz nnorwitz at gmail.com
Mon Jul 10 06:00:49 CEST 2006
- Previous message: [Python-Dev] Unary minus bug
- Next message: [Python-Dev] xml issue in 2.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Unary minus bug
- Next message: [Python-Dev] xml issue in 2.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]