]> granicus.if.org Git - python/commit
Make chr() and ord() return/accept surrogate pairs in narrow builds.
authorGuido van Rossum <guido@python.org>
Sun, 15 Jul 2007 13:00:05 +0000 (13:00 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 15 Jul 2007 13:00:05 +0000 (13:00 +0000)
commit8ac004e69895e8fd525307fdc1e093f92b15ce09
tree947227b6fa3f72f1b6591af1e14181ee30f1bc5d
parent49c12ac04e1bfb238454d9ca2cf3a5acd9991ef5
Make chr() and ord() return/accept surrogate pairs in narrow builds.
The domain of chr() and the range of ord() are now always [0 ... 0x10FFFF].
Lib/test/test_builtin.py
Objects/unicodeobject.c
Python/bltinmodule.c