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
me the opportunity to fill some > of those in. References to Knuth or some on-line reading would be much > appreciated, to help me understand the CPython part. > > Cheers, > > James > -- > View this message in > context:http://www.nabble.com/unicodedata-implementation---categ

unicodedata implementation - categories

2007-10-13 Thread James Abley
ed when it comes to data structures and algorithms and I would welcome the opportunity to fill some of those in. References to Knuth or some on-line reading would be much appreciated, to help me understand the CPython part. Cheers, James -- View this message in context: http://www.nabble.com/unicodedata-

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

unicodedata implementation

2007-02-18 Thread James Abley
Hi, [Originally posted this to the dev list, but the moderator advised posting here first] I'm looking into implementing this module for Jython, and I'm trying to understand the contracts promised by the various methods. Please bear in mind that means I'm probably targeting the CPython implementa