1. 01 Nov, 2004 1 commit
    • Tim Peters's avatar
      gc list function cleanup. · e2d59184
      Tim Peters authored
      Introduced gc_list_move(), which captures the common gc_list_remove() +
      gc_list_append() sequence.  In fact, no uses of gc_list_append() remained
      (they were all in a gc_list_move() sequence), so commented that one out.
      
      gc_list_merge():  assert that `from` != `to`; that was an implicit
      precondition, now verified in a debug build.
      
      Others:  added comments about their purpose.
      e2d59184
  2. 31 Oct, 2004 4 commits
  3. 30 Oct, 2004 3 commits
    • Tim Peters's avatar
      SF 1055820: weakref callback vs gc vs threads · ead8b7ab
      Tim Peters authored
      In cyclic gc, clear weakrefs to unreachable objects before allowing any
      Python code (weakref callbacks or __del__ methods) to run.
      
      This is a critical bugfix, affecting all versions of Python since weakrefs
      were introduced.  I'll backport to 2.3.
      ead8b7ab
    • Armin Rigo's avatar
      Fixed a comment and added another one. · d7bcf4de
      Armin Rigo authored
      d7bcf4de
    • Raymond Hettinger's avatar
      Adopt some peepholer suggestions from Armin Rigo: · effb3931
      Raymond Hettinger authored
      * Use simpler, faster two pass algorithm for markblocks().
      * Free the blocks variable if not NULL and exiting without change.
      * Verify that the rest of the compiler has not set an exception.
      * Make the test for tuple of constants less restrictive.
      * Embellish the comment for chained conditional jumps.
      effb3931
  4. 29 Oct, 2004 3 commits
  5. 28 Oct, 2004 3 commits
  6. 27 Oct, 2004 7 commits
  7. 26 Oct, 2004 13 commits
  8. 25 Oct, 2004 6 commits