"r.e.s." <r.s at XXmindspring.com> writes: > On a given machine, is it possible to create objects LO and HI, > such that for all objects x, id(LO) <= id(x) <= id(HI) ? It may be possible under narrow circumstances but you really can't ever rely on it. You're better off writing a C extension that tells you the endpoints of heap memory.