1. 15 Apr, 2006 1 commit
    • Phillip J. Eby's avatar
      Fix SF#1470508: crash in generator cycle finalization. There were two · 8ebb28df
      Phillip J. Eby authored
      problems: first, PyGen_NeedsFinalizing() had an off-by-one bug that
      prevented it from ever saying a generator didn't need finalizing, and
      second, frame objects cleared themselves in a way that caused their
      owning generator to think they were still executable, causing a double
      deallocation of objects on the value stack if there was still a loop
      on the block stack.  This revision also removes some unnecessary
      close() operations from test_generators that are now appropriately
      handled by the cycle collector.
      8ebb28df
  2. 14 Apr, 2006 28 commits
  3. 13 Apr, 2006 11 commits