commit | cc8764ca9dc3fceb9dc283163a89c9bb649b5392 | [log] [tgz] |
---|---|---|
author | Marc-André Lemburg <mal@egenix.com> | Sun Aug 11 12:23:04 2002 +0000 |
committer | Marc-André Lemburg <mal@egenix.com> | Sun Aug 11 12:23:04 2002 +0000 |
tree | 7f4c069636e05afe04482cc42c38f1937818806d | |
parent | 078151da901bebce6eb232d958fbbb1e5ced4399 [diff] |
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.