commit | 629dfe28f5bdf12b767ae8b35241247e3baadbb4 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Thu Dec 10 10:39:08 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Thu Dec 10 10:39:08 2009 +0000 |
tree | 75bce1a5e09a2f94c3a483ff4b910eb8e23c0705 | |
parent | 3f9afd816de4067b8277bfe0241cf15d34b13e47 [diff] |
Merged revisions 76740 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76740 | mark.dickinson | 2009-12-10 10:36:32 +0000 (Thu, 10 Dec 2009) | 8 lines Replace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost equivalent[*] check that doesn't produce compiler warnings about a 'x < 0' check on an unsigned type. [*] it's equivalent for inputs of type size_t or Py_ssize_t, or any smaller unsigned or signed integer type. ........