New submission from Julien Palard:
This is accepted by browsers but raises an exception in HTMLParser :
from HTMLParser import HTMLParser
HTMLParser().feed(a onclick=foo({bar:42}); class=baz)
--
components: Library (Lib)
messages: 168352
nosy: JulienPalard
priority: normal
severity:
R. David Murray added the comment:
This is fixed in more recent versions of Python (2.7, 3.2+).
--
nosy: +r.david.murray
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org