[Python-checkins] r45614 - python/trunk/Objects/stringobject.c (original) (raw)
thomas.wouters python-checkins at python.org
Fri Apr 21 15:54:43 CEST 2006
- Previous message: [Python-checkins] r45612 - python/trunk/PCbuild/_bsddb.vcproj python/trunk/PCbuild/_ctypes.vcproj python/trunk/PCbuild/_ctypes_test.vcproj python/trunk/PCbuild/_elementtree.vcproj python/trunk/PCbuild/_msi.vcproj python/trunk/PCbuild/_socket.vcproj python/trunk/PCbuild/_sqlite3.vcproj python/trunk/PCbuild/_testcapi.vcproj python/trunk/PCbuild/_tkinter.vcproj python/trunk/PCbuild/bz2.vcproj python/trunk/PCbuild/pyexpat.vcproj python/trunk/PCbuild/python.vcproj python/trunk/PCbuild/pythoncore.vcproj python/trunk/PCbuild/pythonw.vcproj python/trunk/PCbuild/readme.txt python/trunk/PCbuild/select.vcproj python/trunk/PCbuild/unicodedata.vcproj python/trunk/PCbuild/winsound.vcproj
- Next message: [Python-checkins] buildbot warnings in x86 gentoo trunk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: thomas.wouters Date: Fri Apr 21 15:54:43 2006 New Revision: 45614
Modified: python/trunk/Objects/stringobject.c Log:
Py_ssize_t issue; repr()'ing a very large string would result in a teensy string, because of a cast to int.
Modified: python/trunk/Objects/stringobject.c
--- python/trunk/Objects/stringobject.c (original) +++ python/trunk/Objects/stringobject.c Fri Apr 21 15:54:43 2006 @@ -865,7 +865,7 @@ *p++ = quote; *p = '\0'; _PyString_Resize( - &v, (int) (p - PyString_AS_STRING(v))); + &v, (p - PyString_AS_STRING(v))); return v; } }
- Previous message: [Python-checkins] r45612 - python/trunk/PCbuild/_bsddb.vcproj python/trunk/PCbuild/_ctypes.vcproj python/trunk/PCbuild/_ctypes_test.vcproj python/trunk/PCbuild/_elementtree.vcproj python/trunk/PCbuild/_msi.vcproj python/trunk/PCbuild/_socket.vcproj python/trunk/PCbuild/_sqlite3.vcproj python/trunk/PCbuild/_testcapi.vcproj python/trunk/PCbuild/_tkinter.vcproj python/trunk/PCbuild/bz2.vcproj python/trunk/PCbuild/pyexpat.vcproj python/trunk/PCbuild/python.vcproj python/trunk/PCbuild/pythoncore.vcproj python/trunk/PCbuild/pythonw.vcproj python/trunk/PCbuild/readme.txt python/trunk/PCbuild/select.vcproj python/trunk/PCbuild/unicodedata.vcproj python/trunk/PCbuild/winsound.vcproj
- Next message: [Python-checkins] buildbot warnings in x86 gentoo trunk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]