]> granicus.if.org Git - python/commit
Use proper PyArg_Parse format char for Py_ssize_t, instead of 'l', in
authorThomas Wouters <thomas@python.org>
Thu, 16 Feb 2006 19:44:46 +0000 (19:44 +0000)
committerThomas Wouters <thomas@python.org>
Thu, 16 Feb 2006 19:44:46 +0000 (19:44 +0000)
commit02cbdd3461b07bde5f3c304c1c316191c0a73c52
tree7b2611a28c121683e3f3d0a134ddd6079533666f
parentde01774dae6771aa5abdaca2ef39e339ad223f8d
Use proper PyArg_Parse format char for Py_ssize_t, instead of 'l', in
buffer_new(). Probably fixes a bug in 'buffer("", 10, 10)' on platforms
where sizeof(Py_ssize_t) != sizeof(long) (Win64?)
Objects/bufferobject.c