[Python-checkins] r79494 - in python/trunk: Lib/test/test_unicodedata.py Misc/NEWS Objects/unicodeobject.c Objects/unicodetype_db.h Tools/unicode/makeunicodedata.py

M.-A. Lemburg mal at egenix.com
Tue Mar 30 19:39:14 CEST 2010


"Martin v. Löwis" wrote:
> M.-A. Lemburg wrote:
>> florent.xicluna wrote:
>>> Author: florent.xicluna
>>> Date: Tue Mar 30 10:24:06 2010
>>> New Revision: 79494
>>>
>>> Log:
>>> #7643: Unicode codepoints VT (0x0B) and FF (0x0C) are linebreaks according to Unicode Standard Annex #14.
>>>
>>>
>>> Modified:
>>>    python/trunk/Lib/test/test_unicodedata.py
>>>    python/trunk/Misc/NEWS
>>>    python/trunk/Objects/unicodeobject.c
>>>    python/trunk/Objects/unicodetype_db.h
>>>    python/trunk/Tools/unicode/makeunicodedata.py
>>> ...
>>> Modified: python/trunk/Misc/NEWS
>>> ==============================================================================
>>> --- python/trunk/Misc/NEWS	(original)
>>> +++ python/trunk/Misc/NEWS	Tue Mar 30 10:24:06 2010
>>> @@ -32,6 +32,10 @@
>>>  Library
>>>  -------
>>>  
>>> +- Issue #7643: Unicode codepoints VT (0x0B) and FF (0x0C) are linebreaks
>>> +  according to Unicode Standard Annex #14.
>>> +  http://www.unicode.org/reports/tr14/
>>> +
>>>  - Comparisons using one of <, <=, >, >= between a complex instance and
>>>    a Fractions instance now raise TypeError instead of returning
>>>    True/False.  This makes Fraction <=> complex comparisons consistent with
>>
>> Please emphasize this change a bit more:
>>
>> - Backwards incompatible change: Unicode codepoints vertical tab (0x0B)
>>   and form feed (0x0C) are now considered linebreaks, as specified in
>>   Unicode Standard Annex #14 (http://www.unicode.org/reports/tr14/).
>>   See issue #7643.
> 
> -1. Every change is backwards incompatible, so there is no point in
> singling out this change. Just look at the change below for another example.

Noted.

In this case, it's warranted to emphasize the change, since
it's subtle and the affected functions and methods are in wide-spread
use. Form feeds are a lot more common in real-life applications than
comparisons between complex objects and Fractions.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Mar 30 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/


More information about the Python-checkins mailing list