Core and builtins
-----------------
+- Bug #1454485: Don't crash on Unicode characters <0.
+
- Patch #1488312, Fix memory alignment problem on SPARC in unicode
Extension Modules
/* Single character Unicode objects in the Latin-1 range are
shared when using this constructor */
- if (size == 1 && *u < 256) {
+ /* XXX In Python 2.4, Py_UNICODE can, unfortunately, be a signed
+ type. */
+ if (size == 1 && *u >= 0 && *u < 256) {
unicode = unicode_latin1[*u];
if (!unicode) {
unicode = _PyUnicode_New(1);