Senthil Kumaran <sent...@uthcode.com> added the comment:

We need not base changes to html/parser.py on html5 spec, but rather make 
changes based on the requirements on parsers which may rely on this library. 
Like the tolerant mode was brought in issue1486713 for some practical reasons 
and it was seen useful tor parsers.

I don't know, how common is leaving out quotes for attributes is, but I think 
it can become really confusing to parsers (custom parsers). If we had not 
supported non-quote attributes I think, it is still okay still to 
not-to-support unless presented with case as very concrete bug. (like spec html 
4.1 allows, which I see it does not).

The patch which added support for non-ascii characters is fine.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7311>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to