]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport:
authorMichael W. Hudson <mwh@python.net>
Mon, 7 Oct 2002 12:32:57 +0000 (12:32 +0000)
committerMichael W. Hudson <mwh@python.net>
Mon, 7 Oct 2002 12:32:57 +0000 (12:32 +0000)
commitd1bb75505fbb5b47f4f3d420e00964b38c24b203
tree301416738736d193214c3d6639c94682faf225af
parentb45532abd26a9752e42ca589b5b0e49552761811
Backport:

2002/08/11 12:23:04 lemburg Python/bltinmodule.c 2.262
2002/08/11 12:23:04 lemburg Objects/unicodeobject.c 2.162
2002/08/11 12:23:03 lemburg Misc/NEWS 1.461
2002/08/11 12:23:03 lemburg Lib/test/test_unicode.py 1.65
2002/08/11 12:23:03 lemburg Include/unicodeobject.h 2.39
Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level.

u'%c' will now raise a ValueError in case the argument is an
integer outside the valid range of Unicode code point ordinals.

Closes SF bug #593581.
Include/unicodeobject.h
Lib/test/test_unicode.py
Misc/NEWS
Objects/unicodeobject.c
Python/bltinmodule.c