[Patches] [ python-Patches-722017 ] Enhance htmlentitydefs
SourceForge.net
noreply@sourceforge.net
Wed, 16 Apr 2003 03:04:00 -0700
Patches item #722017, was opened at 2003-04-15 20:47
Message generated for change (Comment added) made by doerwalter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=722017&group_id=5470
Category: Library (Lib)
Group: None
>Status: Closed
>Resolution: Fixed
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: Walter Dörwald (doerwalter)
Date: 2003-04-16 12:04
Message:
Logged In: YES
user_id=89016
Checked in as:
Misc/NEWS 1.725
Lib/htmlentitydefs.py 1.9
Doc/lib/libhtmllib.tex 1.24
with slight modifications (Comments, delete loop variables
from module namespace).
----------------------------------------------------------------------
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