[Patches] [ python-Patches-1571184 ] Generate numeric/space/linebreak from Unicode database.

SourceForge.net noreply at sourceforge.net
Thu Oct 5 12:45:25 CEST 2006


Patches item #1571184, was opened at 2006-10-05 09:57
Message generated for change (Comment added) made by lemburg
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1571184&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Anders Chrigström (andersch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Generate numeric/space/linebreak from Unicode database.

Initial Comment:
This patch changes the functions _PyUnicode_ToNumeric,
_PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace from
having to be manually updated into being generated from
data in the unicode database.

It will allso read numeric values for characters whos
numeric type is defined in the Unihan.txt file and not
in the UnicodeData.txt file.

The patch should work for both the release25-maint
branch as well as the trunk.

The patch is so big i had to split it into two files
for sourcefore to accept it.



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

>Comment By: M.-A. Lemburg (lemburg)
Date: 2006-10-05 12:45

Message:
Logged In: YES 
user_id=38388

Instead of attaching the patch with the generated code,
could you please just attach the script that generates the
files and/or any patch needed to support the new generation
of the above three functions ?

That makes reviewing this a lot easier.

Thanks.


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

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


More information about the Patches mailing list