]> granicus.if.org Git - python/commit
Blocked revisions 76741 via svnmerge
authorMark Dickinson <dickinsm@gmail.com>
Thu, 10 Dec 2009 10:40:16 +0000 (10:40 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Thu, 10 Dec 2009 10:40:16 +0000 (10:40 +0000)
commit4c090a92eef4ba0f600a1bc355f1206e4c041eca
treeda0766dd238a8276e1da8b59f67ffa82751bded2
parent64eaa20c68d54319c30bb75768cef0b114980893
Blocked revisions 76741 via svnmerge

................
  r76741 | mark.dickinson | 2009-12-10 10:39:08 +0000 (Thu, 10 Dec 2009) | 14 lines

  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.
  ........
................