Mercurial > cpython-lru_cache-weakref
diff Include/allobjects.h @ 978:13c99eaf32a8 legacy-trunk
* renamed malloc.h mymalloc.h, and added MALLARG as the type of the
argument to malloc() (size_t or unsigned int)
* listobject.c: check for overflow of the size of the object,
so things like range(0x7fffffff) will raise MemoryError instead
of calling malloc() with -4 (and then crashing -- malloc's fault)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 19 Aug 1992 16:46:30 +0000 |
| parents | 164849f56105 |
| children | 533e36de1e4d |
line wrap: on
line diff
