[Patches] [Patch #101652] unidb-based unicodectype.c replacement

noreply@sourceforge.net noreply@sourceforge.net
Mon, 25 Sep 2000 14:10:44 -0700


Patch #101652 has been updated. 

Project: 
Category: core (C code)
Status: Open
Summary: unidb-based unicodectype.c replacement

Follow-Ups:

Date: 2000-Sep-25 13:28
By: none

Comment:
(not a patch -- this is replacing a 450k source file
with a 14k source file, and the resulting patch file
is too large for sourceforge...)

to generate the associated datafile, check out the
latest Tools/unicode/makeunicodedata.py
-------------------------------------------------------

Date: 2000-Sep-25 14:10
By: lemburg

Comment:
The code looks ok, but I can't really follow the technique you
use for the lower/upper mappings: why can't you simply
use "const Py_UNICODE" + "return ctype->lower"
instead of "unsigned short" and then "return (ch + ctype->lower) & 0xffff" ?!

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

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101652&group_id=5470