Ezio Melotti ezio.melo...@gmail.com added the comment:
HTMLParser should now be able to parse invalid HTML too, so this patch is not
necessary anymore.
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - out of date
stage: patch review - committed/rejected
status: open -
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Attached a patch for py3k where the file name has changed. Doc changes could
be based on the comment added to the error method in the patch. I don't think
a unit test is needed but could easily be persuaded otherwise.
--
Francesco Frassinelli frap...@gmail.com added the comment:
Site: http://ftp.vim.org/pub/vim/unstable/patches/
Outuput without error customized function:
[...]
File ./takeit.py, line 54, in inspect
parser.feed(data.read().decode())
File /home/frafra/Scrivania/takeit/html/parser.py, line
Francesco Frassinelli frap...@gmail.com added the comment:
I'm using Python 3.1.1 and the patch (patch.txt, provided by smroid)
works very well. It's usefull, and I really need it, thanks :)
Without this patch, I can't parse: http://ftp.vim.org/pub/vim/ (due to a
fake tag, like u...@mail.com),
Changes by Daniel Diniz aja...@gmail.com:
--
keywords: +easy -patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue755660
___
___
Python-bugs-list
Daniel Diniz aja...@gmail.com added the comment:
Tests still pass with updated patch, but new tests (and docs!) for this
feature are needed if Titus' positive review stands.
--
nosy: +ajaksu2
stage: - test needed
versions: +Python 2.7 -Python 2.3
Added file:
Changes by Daniel Diniz aja...@gmail.com:
--
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue755660
___
___