Kent Johnson wrote on 06.12.2005:

>The parser processes up to the error. It never recovers from the
>error. HTMLParser has an internal buffer and buffer pointer that is
>never advanced when an error is detected; each time you call feed()
>it tries to parse the remaining data and gets the same error again.
>Take a look at HTMLParser.goahead() in Lib/HTMLParser.py if you are
>interested in the details.
>
Aha! That's what I needed to know. Thanks to all who answered.

- Jan
-- 
I'd never join any club that would have the likes of me as a member. - Groucho 
Marx
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to