[Patches] [ python-Patches-1494554 ] Numeric characters not recognized.
SourceForge.net
noreply at sourceforge.net
Fri May 26 22:42:55 CEST 2006
Patches item #1494554, was opened at 2006-05-24 21:54
Message generated for change (Comment added) made by lemburg
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1494554&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: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Anders Chrigström (andersch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Numeric characters not recognized.
Initial Comment:
unicode.isnumeric() and unicodedata.numeric() fails to
recognize a bunch of numeric unicode characters.
The patch fixes this.
----------------------------------------------------------------------
>Comment By: M.-A. Lemburg (lemburg)
Date: 2006-05-26 22:42
Message:
Logged In: YES
user_id=38388
Rather than creating a patch for every new version, how
about extracting the relevant data from the Unicode database
using a script and putting that into Tools/unicode/ ?!
Note that the original version was also generated from the
database. Unfortunately, I can't find that script anymore.
One nit with the patch: it should put non-BMP Unicode code
points into #ifdef Py_UNICODE_WIDE ... #endif clauses.
----------------------------------------------------------------------
Comment By: Anders Chrigström (andersch)
Date: 2006-05-26 21:20
Message:
Logged In: YES
user_id=621306
The patch makes it match version 4.1.0. Though it didn't match
version 3.2.0 either.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2006-05-26 20:07
Message:
Logged In: YES
user_id=21627
Which version of the Unicode database is this based on?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1494554&group_id=5470
More information about the Patches
mailing list