Re: unicodedata implementation - categories

2007-10-14 Thread Martin v. Löwis
> 1) Why doesn't the category method raise an Exception, like the name method > does? As Chris explains, the result category means "Other, Not Assigned". Python returns this category because it's the truth: for those characters, the value of the "category" property really *is* Cn; it means that th

Re: unicodedata implementation - categories

2007-10-13 Thread chris . monsanto
On Oct 13, 4:32 pm, James Abley <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to understand how CPython implements unicodedata, with a view to > providing an implementation for Jython. This is a background, low priority > thing for me, since I last posted to this list about it in February! > > Py

Re: unicodedata implementation

2007-02-22 Thread Martin v. Löwis
James Abley schrieb: > So from my understanding of the Unicode (3.2.0) spec, the code point > 0x325F has a numeric property with a value of 35, but the python (2.3 > and 2.4 - I haven't put 2.5 onto my box yet) implementation of > unicodedata disagrees, presumably for good reason. > > I can't see