[Patches] [ python-Patches-722017 ] Enhance htmlentitydefs

SourceForge.net noreply@sourceforge.net
Tue, 15 Apr 2003 13:00:38 -0700


Patches item #722017, was opened at 2003-04-15 20:47
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=722017&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
>Assigned to: Walter Dörwald (doerwalter)
Summary: Enhance htmlentitydefs

Initial Comment:
This new version adds two dictionaries to
htmlentitydefs.py: name2codepoint maps entity names to
Unicode codepoints (as integers). codepoint2name is the
reverse mapping. The distinction between codepoint<256
and codepoint>=256 that entitydefs used is removed.
entitydefs is still defined (and generated from
name2codepoint) for backwards compatibility.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-04-15 22:00

Message:
Logged In: YES 
user_id=21627

I'm concerned about the startup costs, but for today's
computers, this is probably not relevant anymore

Please apply this patch.

----------------------------------------------------------------------

Comment By: Walter Dörwald (doerwalter)
Date: 2003-04-15 20:47

Message:
Logged In: YES 
user_id=89016

Patch to the documentation added.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=722017&group_id=5470