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 orsenthil
Recipients orsenthil, wplappert
Date 2010-04-06.04:29:49
SpamBayes Score 5.369541e-05
Marked as misclassified No
Message-id <1270528193.02.0.496419720867.issue8319@psf.upfronthosting.co.za>
In-reply-to
Content
But changing the HTMLParser.goahead's way to treating tags from
if i < j: self.handle_data(rawdata[i:j]) TO
if i <= j: self.handle_data(rawdata[i:j]

is not the correct way to deal with this problem. Theoretically, whatever it is doing seems correct. As there is no data, don't call handle_data.

I can understand your testcase, and I think there is some other way to handle the test you are mentioning.

If you change the above line, many of the existing tests may fail, so that *may not be* way to go.
History
Date User Action Args
2010-04-06 04:29:53orsenthilsetrecipients: + orsenthil, wplappert
2010-04-06 04:29:53orsenthilsetmessageid: <1270528193.02.0.496419720867.issue8319@psf.upfronthosting.co.za>
2010-04-06 04:29:51orsenthillinkissue8319 messages
2010-04-06 04:29:49orsenthilcreate