<div dir="ltr"><div style>I've just checked on Python 2.7.5 and Python 3.3.2 (Win32 versions).<br></div><div style><br></div><div style>In Python 3.3.2 unicodedata.unidata_version is set to '6.1.0'.</div><div style>
<br></div><div style>In Python 2.7.5 it is set to '5.2.0' so it looks as though this version is no longer being updated.</div><div style><br></div><div style>Since my initial post I've downloaded the Python 2.7.5 source and have found the makeunicodedata.py script which creates this module.</div>
<div style><br></div><div style>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 <a href="https://gist.github.com/anonymous/2204527">https://gist.github.com/anonymous/2204527</a> to obtain the script of a character but it would be nice if this was available from the standard library.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 September 2013 16:38, MRAB <span dir="ltr"><<a href="mailto:python@mrabarnett.plus.com" target="_blank">python@mrabarnett.plus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 06/09/2013 10:54, Andrew Miller wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The unicodedata module only contains data up to Unicode 5.2 (October<br>
2009), so attempting to reference any character from a later version e.g:<br>
<br>
unicodedata.lookup("TURKISH LIRA SIGN")<br>
<br>
results in a KeyError.<br>
<br>
Also, it seems to be limited to properties in the UnicodeData.txt file<br>
and does not contain any data from the other files from the Unicode<br>
Character Database (the perl library Unicode::UCD is far more complete).<br>
<br>
Are there any plans to update this module to the latest Unicode version<br>
(6.2, with 6.3 being released shortly), or is there another module that<br>
provides more up to date information?<br>
<br>
</blockquote></div></div>
Which version of Python are you talking about? Python 3.3 uses Unicode version 6.1.<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/<u></u>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/a.j.miller%40bcs.org.uk" target="_blank">https://mail.python.org/<u></u>mailman/options/python-dev/a.<u></u>j.miller%40bcs.org.uk</a><br>
</div></div></blockquote></div><br></div>