]> granicus.if.org Git - python/commit
PyList_New(): we went to all the trouble of computing and bounds-checking
authorTim Peters <tim.peters@gmail.com>
Thu, 29 Jul 2004 02:28:42 +0000 (02:28 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 29 Jul 2004 02:28:42 +0000 (02:28 +0000)
commit3986d4e66022b8b1821f517723cf25ca98134d0e
tree2e0002405a674f14ac67fa9cde0a44ad3348352b
parent6d3db7000ee8f3a910e101bb5f622463af2b2b31
PyList_New():  we went to all the trouble of computing and bounds-checking
the size_t nbytes, and passed nbytes to malloc, so it was confusing to
effectively recompute the same thing from scratch in the memset call.
Objects/listobject.c