[issue16963] module html.parser HTMLParser's strict mode don't work

2013-01-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue16963] module html.parser HTMLParser's strict mode don't work

2013-01-14 Thread sean
sean added the comment: SAME AS #issue13273 http://bugs.python.org/issue13273 -- resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue16963] module html.parser HTMLParser's strict mode don't work

2013-01-14 Thread Ezio Melotti
Ezio Melotti added the comment: It works for me on 3.2.3, 3.2.3+, 3.3.0+, 3.4.0a0 >>> from html.parser import HTMLParser >>> class LooseParser(HTMLParser): ... def __init__(self, strict=False): ... HTMLParser.__init__(self, strict=strict) ... def handle_starttag(self, tag, att

[issue16963] module html.parser HTMLParser's strict mode don't work

2013-01-14 Thread sean
New submission from sean: NOTE: SAME AS Python 3.2.2, Python 3.3 from python.org/download Python 3.2.2 Stackless 3.1b3 060516 (default, Feb 20 2012, 13:36:12) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> from html.parser import HTMLPa