[Python-checkins] commit of r41728 - in python: branches/release24-maint/Lib/test/test_unicode.py branches/release24-maint/Misc/NEWS branches/release24-maint/Objects/unicodeobject.c trunk/Lib/test/test_unicode.py trunk/Misc/NEWS trunk/Objects/uni

Guido van Rossum guido at python.org
Wed Dec 28 17:10:42 CET 2005


On 12/16/05, hyeshik.chang <python-checkins at python.org> wrote:
> Author: hyeshik.chang
> Date: Sat Dec 17 05:38:31 2005
> New Revision: 41728
>
> Modified:
>    python/branches/release24-maint/Lib/test/test_unicode.py
>    python/branches/release24-maint/Misc/NEWS
>    python/branches/release24-maint/Objects/unicodeobject.c
>    python/trunk/Lib/test/test_unicode.py
>    python/trunk/Misc/NEWS
>    python/trunk/Objects/unicodeobject.c
> Log:
> Bug #1379994: Fix *unicode_escape codecs to encode r'\' as r'\\'
> just like string codecs.

Minor nit on the checkin comment: there is no such thing as r'\' --
that's an invalid string literal. And I don't believe this code
produces r'...' notation either. :-)

No need to respond,

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-checkins mailing list