This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients belopolsky, lemburg, loewis, pbnan
Date 2010-11-28.19:31:54
SpamBayes Score 3.9052665e-07
Marked as misclassified No
Message-id <4CF2AE29.3010901@v.loewis.de>
In-reply-to <4CF2A879.1040507@egenix.com>
Content
>> In 2.6, there was a manually maintained list, probably dating back to before Unicode 4.0. 
> 
> That's not quite correct: Python 1.6.x - 2.5.x used tables for the
> PyUnicode_ISSPACE() function that were created from the Unicode database.

That used to be the case until r39757, when you made this change:

------------------------------------------------------------------------
r39757 | lemburg | 2005-10-20 21:06:35 +0200 (Do, 20. Okt 2005) | 7 Zeilen
Geänderte Pfade:
   M /python/trunk/Objects/unicodectype.c

Enhance the performance of two important Unicode character
type lookups: whitespace and linebreak.

These lookup tables are from the Python 1.6 version with the addition
of the 205F code point which was added as whitespace code point to
Unicode since then.

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

In 2.5 and 2.6, there was no table lookup anymore, but a switch
statement. Not sure how you arrived at the code; the commit message
doesn't say (but the wording suggests it was manually computed).
It was not updated in 2.6.
History
Date User Action Args
2010-11-28 19:31:57loewissetrecipients: + loewis, lemburg, belopolsky, pbnan
2010-11-28 19:31:54loewislinkissue10567 messages
2010-11-28 19:31:54loewiscreate