1. 19 Nov, 2003 10 commits
  2. 18 Nov, 2003 11 commits
  3. 17 Nov, 2003 1 commit
  4. 16 Nov, 2003 3 commits
  5. 15 Nov, 2003 2 commits
  6. 14 Nov, 2003 3 commits
  7. 13 Nov, 2003 6 commits
  8. 12 Nov, 2003 4 commits
    • Tim Peters's avatar
      SF bug 840829: weakref callbacks and gc corrupt memory. · add09b41
      Tim Peters authored
      subtype_dealloc():  This left the dying object exposed to gc, so that
      if cyclic gc triggered during the weakref callback, gc tried to delete
      the dying object a second time.  That's a disaster.  subtype_dealloc()
      had a (I hope!) unique problem here, as every normal dealloc routine
      untracks the object (from gc) before fiddling with weakrefs etc.  But
      subtype_dealloc has obscure technical reasons for re-registering the
      dying object with gc (already explained in a large comment block at
      the bottom of the function).
      
      The fix amounts to simply refraining from reregistering the dying object
      with gc until after the weakref callback (if any) has been called.
      
      This is a critical bug (hard to predict, and causes seemingly random
      memory corruption when it occurs).  I'll backport it to 2.3 later.
      add09b41
    • Tim Peters's avatar
      pyexpat stopped building on Windows -- whining about the lack of a · 045f1de5
      Tim Peters authored
      HAVE_MEMMOVE define.  Just defined it on the cmdline (it doesn't
      include Python.h, and Fred doesn't want to change the code).
      045f1de5
    • Raymond Hettinger's avatar
      Fix typo · 7d1dd043
      Raymond Hettinger authored
      7d1dd043
    • Raymond Hettinger's avatar
      Explain the advantages of reversed. · bc3cba28
      Raymond Hettinger authored
      bc3cba28