
Unicode 8.0 was just released. Can we have unicodedata updated to match in 3.5? -- Terry Jan Reedy

On Thu, Jun 18, 2015 at 08:34:14PM +0100, MRAB wrote:
At the very least, there is a change to the casefolding algorithm. Cherokee was classified as unicameral but is now considered bicameral (two cases, like English). Unusually, case-folding Cherokee maps to uppercase rather than lowercase. The full set of changes is listed here: http://unicode.org/versions/Unicode8.0.0/ Apart from the addition of 7716 characters and changes to str.casefold(), I don't think any of the changes will make a big difference to Python's implementation. But it would be good to support Unicode 8 (to the degree that Python actually does support Unicode, rather than just that character set part of it).
There are additional codepoints and a renamed property (which the standard library doesn't support anyway).
Which one are you referring to, Indic_Matra_Category renamed to Indic_Positional_Category? -- Steve

On Fri, Jun 19, 2015 at 01:55:07AM +0100, MRAB wrote:
On 2015-06-19 00:56, Steven D'Aprano wrote:
That depends on what algorithm str.casefold uses :-) Case folding is specifically mentioned as something that people migrating to Unicode 8 will need to take care with, and also says: "This mapping also has consequences on identifiers, as described in the changes to UAX #31, Unicode Identifier and Pattern Syntax." http://unicode.org/versions/Unicode8.0.0/#Migration -- Steve

On Thu Jun 18 20:33:13 CEST 2015, Larry Hastings asked:
What does this entail? Data changes, code changes, both?
Note that the unicode 7 changes also need to be considered, because python 3.4 used unicode 6.3. There are some changes to the recommendations on what to use in identifiers. Python doesn't follow precisely the previous rules, but it would be good to ensure that any newly allowed characters are intentional -- particularly for the newly defined characters. My gut feel is that it would have been fine during beta, but for the 3rd RC I am not so sure. -jJ -- If there are still threading problems with my replies, please email me with details, so that I can try to resolve them. -jJ

On Thu, Jun 18, 2015 at 08:34:14PM +0100, MRAB wrote:
At the very least, there is a change to the casefolding algorithm. Cherokee was classified as unicameral but is now considered bicameral (two cases, like English). Unusually, case-folding Cherokee maps to uppercase rather than lowercase. The full set of changes is listed here: http://unicode.org/versions/Unicode8.0.0/ Apart from the addition of 7716 characters and changes to str.casefold(), I don't think any of the changes will make a big difference to Python's implementation. But it would be good to support Unicode 8 (to the degree that Python actually does support Unicode, rather than just that character set part of it).
There are additional codepoints and a renamed property (which the standard library doesn't support anyway).
Which one are you referring to, Indic_Matra_Category renamed to Indic_Positional_Category? -- Steve

On Fri, Jun 19, 2015 at 01:55:07AM +0100, MRAB wrote:
On 2015-06-19 00:56, Steven D'Aprano wrote:
That depends on what algorithm str.casefold uses :-) Case folding is specifically mentioned as something that people migrating to Unicode 8 will need to take care with, and also says: "This mapping also has consequences on identifiers, as described in the changes to UAX #31, Unicode Identifier and Pattern Syntax." http://unicode.org/versions/Unicode8.0.0/#Migration -- Steve

On Thu Jun 18 20:33:13 CEST 2015, Larry Hastings asked:
What does this entail? Data changes, code changes, both?
Note that the unicode 7 changes also need to be considered, because python 3.4 used unicode 6.3. There are some changes to the recommendations on what to use in identifiers. Python doesn't follow precisely the previous rules, but it would be good to ensure that any newly allowed characters are intentional -- particularly for the newly defined characters. My gut feel is that it would have been fine during beta, but for the 3rd RC I am not so sure. -jJ -- If there are still threading problems with my replies, please email me with details, so that I can try to resolve them. -jJ
participants (7)
-
Benjamin Peterson
-
Jim J. Jewett
-
Larry Hastings
-
MRAB
-
Serhiy Storchaka
-
Steven D'Aprano
-
Terry Reedy