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 flying sheep
Recipients ezio.melotti, flying sheep, karlcow, r.david.murray
Date 2013-03-13.19:24:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363202672.89.0.478215272596.issue17410@psf.upfronthosting.co.za>
In-reply-to
Content
no, i didn’t change anything that didn’t have to be changed to expose the tokens. i kept the changes as minimal as possible.

and the tests pass! i attached the patch.

---

aside thoughts:

i had to change _markupbase.py, too, but i wonder why it’s even a separate module: it is only ever imported by html.parser and its only content, ParserBase, is only subclassed once (by HTMLParser). both classes are so intertwined and dependent on each other (ParserBase calls HTMLParser methods that it itself doesn’t even define) that i think _markupbase should just be scrapped and included into HTMLParser.
History
Date User Action Args
2013-03-13 19:24:32flying sheepsetrecipients: + flying sheep, ezio.melotti, r.david.murray, karlcow
2013-03-13 19:24:32flying sheepsetmessageid: <1363202672.89.0.478215272596.issue17410@psf.upfronthosting.co.za>
2013-03-13 19:24:32flying sheeplinkissue17410 messages
2013-03-13 19:24:32flying sheepcreate