]> granicus.if.org Git - python/commit
Use Py_ssize_t to hold the 'width' argument to the ljust, rjust, center and
authorThomas Wouters <thomas@python.org>
Wed, 19 Apr 2006 14:50:15 +0000 (14:50 +0000)
committerThomas Wouters <thomas@python.org>
Wed, 19 Apr 2006 14:50:15 +0000 (14:50 +0000)
commit4abb3660ca43ffa22e1879dac238c2ed7c406389
tree471b76cdc2afb69fe3b4e2212646659bd324bb20
parent67191311299c7c4097981c961064080824f09f9c
Use Py_ssize_t to hold the 'width' argument to the ljust, rjust, center and
zfill stringmethods, so they can create strings larger than 2Gb on 64bit
systems (even win64.) The unicode versions of these methods already did this
right.
Objects/stringobject.c