1. 04 Jun, 2006 4 commits
    • Neal Norwitz's avatar
      5c8c29fb
    • Tim Peters's avatar
      _PyObject_DebugMalloc(): The return value should add · 950b6d82
      Tim Peters authored
      2*sizeof(size_t) now, not 8.  This probably accounts for
      current disasters on the 64-bit buildbot slaves.
      950b6d82
    • Tim Peters's avatar
      In a PYMALLOC_DEBUG build obmalloc adds extra debugging info · 55835d38
      Tim Peters authored
      to each allocated block.  This was using 4 bytes for each such
      piece of info regardless of platform.  This didn't really matter
      before (proof: no bug reports, and the debug-build obmalloc would
      have assert-failed if it was ever asked for a chunk of memory
      >= 2**32 bytes), since container indices were plain ints.  But after
      the Py_ssize_t changes, it's at least theoretically possible to
      allocate a list or string whose guts exceed 2**32 bytes, and the
      PYMALLOC_DEBUG routines would fail then (having only 4 bytes
      to record the originally requested size).
      
      Now we use sizeof(size_t) bytes for each of a PYMALLOC_DEBUG
      build's extra debugging fields.  This won't make any difference
      on 32-bit boxes, but will add 16 bytes to each allocation in
      a debug build on a 64-bit box.
      55835d38
    • Tim Peters's avatar
      Whitespace normalization. · 626a0329
      Tim Peters authored
      626a0329
  2. 03 Jun, 2006 22 commits
  3. 02 Jun, 2006 6 commits
  4. 01 Jun, 2006 8 commits