Mercurial > cpython-lru_cache-weakref
comparison Python/Python-ast.c @ 57640:752e8608e131 2.6
Blocked revisions 76740 via svnmerge
........
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.
........
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Thu, 10 Dec 2009 10:39:49 +0000 |
| parents | 82ccc7e77ec5 |
| children | 2b934d466993 |
comparison
equal
deleted
inserted
replaced
| 57637:b27d946389e7 | 57640:752e8608e131 |
|---|
