from __future__ import *
realloc.. doesn't?
January 01, 2005 at 10:05 PM | categories: python | View CommentsApparently, Darwin's implementation of realloc never frees memory if you ask for a smaller size. Python, and probably plenty of other software, assumes that it does, because that's how it behaves on the other platforms (at least Linux and OpenBSD). Oops!