]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Py_BuildValue("C") supports non-BMP characters on narrow build
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 14 Jul 2011 23:13:24 +0000 (01:13 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 14 Jul 2011 23:13:24 +0000 (01:13 +0200)
commitecf4fdad50da72f6fcd4324436d0cf3f98053c12
tree530a73a777e724001e87519782ebdf9268d13eeb
parenta7878b77dcddf365452b53b223324a2f67d9354d
Py_BuildValue("C") supports non-BMP characters on narrow build

Py_BuildValue("C") doesn't have to check the code point,
PyUnicode_FromOrdinal() checks its input and now supports non-BMP characters
(range U+10000-U+10FFFF).
Python/modsupport.c