Re: [Python-Dev] unicodedata module is out of date

2013-09-09 Thread Martin v. Löwis
Am 06.09.13 20:24, schrieb Terry Reedy: >> In Python 2.7.5 it is set to '5.2.0' so it looks as though this version >> is no longer being updated. > > In general, new features do not go into bugfix releases (x.y.z, where z >>= 1). Updating the unidate_version add new features to the unicodedata > m

Re: [Python-Dev] unicodedata module is out of date

2013-09-09 Thread Martin v. Löwis
Am 06.09.13 17:55, schrieb Andrew Miller: > Are there plans to add the extra data from the other UCD files to this > module? At the moment I am using a module from > https://gist.github.com/anonymous/2204527 to obtain the script of a > character but it would be nice if this was available from the

Re: [Python-Dev] unicodedata module is out of date

2013-09-06 Thread MRAB
On 06/09/2013 10:54, Andrew Miller wrote: The unicodedata module only contains data up to Unicode 5.2 (October 2009), so attempting to reference any character from a later version e.g: unicodedata.lookup("TURKISH LIRA SIGN") results in a KeyError. Also, it seems to be limited to properties in

Re: [Python-Dev] unicodedata module is out of date

2013-09-06 Thread Terry Reedy
On 9/6/2013 11:55 AM, Andrew Miller wrote: I've just checked on Python 2.7.5 and Python 3.3.2 (Win32 versions). In Python 3.3.2 unicodedata.unidata_version is set to '6.1.0'. In Python 2.7.5 it is set to '5.2.0' so it looks as though this version is no longer being updated. In general, new fe

Re: [Python-Dev] unicodedata module is out of date

2013-09-06 Thread Andrew Miller
I've just checked on Python 2.7.5 and Python 3.3.2 (Win32 versions). In Python 3.3.2 unicodedata.unidata_version is set to '6.1.0'. In Python 2.7.5 it is set to '5.2.0' so it looks as though this version is no longer being updated. Since my initial post I've downloaded the Python 2.7.5 source an

Re: [Python-Dev] unicodedata module is out of date

2013-09-06 Thread Benjamin Peterson
2013/9/6 Andrew Miller : > The unicodedata module only contains data up to Unicode 5.2 (October 2009), > so attempting to reference any character from a later version e.g: > > unicodedata.lookup("TURKISH LIRA SIGN") > > results in a KeyError. > > Also, it seems to be limited to properties in the Un

Re: [Python-Dev] unicodedata module is out of date

2013-09-06 Thread Stefan Behnel
Andrew Miller, 06.09.2013 11:54: > The unicodedata module only contains data up to Unicode 5.2 (October 2009), > so attempting to reference any character from a later version e.g: > > unicodedata.lookup("TURKISH LIRA SIGN") > > results in a KeyError. > > Also, it seems to be limited to propertie

Re: [Python-Dev] unicodedata module is out of date

2013-09-06 Thread R. David Murray
On Fri, 06 Sep 2013 17:33:47 +0200, Stefan Behnel wrote: > Andrew Miller, 06.09.2013 11:54: > > The unicodedata module only contains data up to Unicode 5.2 (October 2009), > > so attempting to reference any character from a later version e.g: > > > > unicodedata.lookup("TURKISH LIRA SIGN") > > >

Re: [Python-Dev] unicodedata module is out of date

2013-09-06 Thread R. David Murray
On Fri, 06 Sep 2013 10:54:45 +0100, Andrew Miller wrote: > Are there any plans to update this module to the latest Unicode version > (6.2, with 6.3 being released shortly), or is there another module that > provides more up to date information? Python 3.4 currently has 6.2. If 6.3 gets released