]> granicus.if.org Git - python/commit
#1477: ur'\U0010FFFF' used to raise in narrow unicode builds.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 24 Mar 2008 21:16:28 +0000 (21:16 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 24 Mar 2008 21:16:28 +0000 (21:16 +0000)
commita79e05097be27579d0ab0e38fda404b0edb670c0
tree817e98d10f75e67b229ff5f79638f2f00d9a2091
parentd9b9d680d502e9a776806184c13a9b1162cf6d06
#1477: ur'\U0010FFFF' used to raise in narrow unicode builds.
Corrected the raw-unicode-escape codec to use UTF-16 surrogates in
this case, like the unicode-escape codec does.

Backport of r61793 and r61853
Lib/test/test_unicode.py
Misc/NEWS
Objects/unicodeobject.c