[Python-checkins] r45343 - python/trunk/Objects/unicodeobject.c
martin.v.loewis
python-checkins at python.org
Thu Apr 13 09:24:51 CEST 2006
Author: martin.v.loewis
Date: Thu Apr 13 09:24:50 2006
New Revision: 45343
Modified:
python/trunk/Objects/unicodeobject.c
Log:
Remove another INT_MAX limitation
Modified: python/trunk/Objects/unicodeobject.c
==============================================================================
--- python/trunk/Objects/unicodeobject.c (original)
+++ python/trunk/Objects/unicodeobject.c Thu Apr 13 09:24:50 2006
@@ -225,8 +225,7 @@
*/
unicode->str[0] = 0;
unicode->str[length] = 0;
- assert(length<INT_MAX);
- unicode->length = (int)length;
+ unicode->length = length;
unicode->hash = -1;
unicode->defenc = NULL;
return unicode;
More information about the Python-checkins
mailing list