This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Hibou57
Recipients Hibou57
Date 2016-01-26.21:10:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453842608.52.0.40675264133.issue26210@psf.upfronthosting.co.za>
In-reply-to
Content
`HTMLParser.handle_data` may be invoked although `HTMLParser.reset` was invoked. This occurs at least when `HTMLParser.reset` was invoked during `HTMLParser.handle_endtag`.

According to the documentation, `HTMLParser.reset` discard all data, so it should immediately stop the parser.

Additionally as an aside, it's strange `HTMLParser.reset` is invoked during object creation as it's invoking a method on an object which is potentially not entirely initialized (that matters with derived classes).
History
Date User Action Args
2016-01-26 21:10:08Hibou57setrecipients: + Hibou57
2016-01-26 21:10:08Hibou57setmessageid: <1453842608.52.0.40675264133.issue26210@psf.upfronthosting.co.za>
2016-01-26 21:10:08Hibou57linkissue26210 messages
2016-01-26 21:10:08Hibou57create