Bug in htmlentitydefs.py with Python 3.0?
"Martin v. Löwis"
martin at v.loewis.de
Wed Dec 26 18:30:12 EST 2007
André wrote:
> In trying to parse html files using ElementTree running under Python
> 3.0a1, and using htmlentitydefs.py to add "character entities" to the
> parser, I found that I needed to create a customized version of
> htmlentitydefs.py to make things work properly.
Can you please state what precise problem you were seeing? The original
code looks fine to me as it stands.
> It does work for me ... but I don't know enough about unicode to be
> sure that it is a proper bug, and not a quirk due to the way I wrote
> my app.
Without knowing what the actual problem is, it is hard to tell.
Regards,
Martin
More information about the Python-list
mailing list