1. 20 Ock, 2008 1 kayıt (commit)
  2. 13 Kas, 2007 1 kayıt (commit)
    • Amaury Forgeot d'Arc's avatar
      Merge from py3k branch: · 0d75f091
      Amaury Forgeot d'Arc yazdı
      Correction for issue1265 (pdb bug with "with" statement).
      
      When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx
      is called with a GeneratorExit exception set.  This leads to funny results
      if the sys.settrace function itself makes use of generators.
      A visible effect is that the settrace function is reset to None.
      Another is that the eventual "finally" block of the generator is not called.
      
      It is necessary to save/restore the exception around the call to the trace
      function.
      
      This happens a lot with py3k: isinstance() of an ABCMeta instance runs
          def __instancecheck__(cls, instance):
              """Override for isinstance(instance, cls)."""
              return any(cls.__subclasscheck__(c)
                         for c in {instance.__class__, type(instance)})
      which lets an opened generator expression each time it returns True.
      
      Backport candidate, even if the case is less frequent in 2.5.
      0d75f091
  3. 04 Agu, 2006 1 kayıt (commit)
    • Neal Norwitz's avatar
      Bug #1191458: tracing over for loops now produces a line event · 4ffedadb
      Neal Norwitz yazdı
      on each iteration.  I'm not positive this is the best way to handle
      this.  I'm also not sure that there aren't other cases where
      the lnotab is generated incorrectly.  It would be great if people
      that use pdb or tracing could test heavily.
      
      Also:
       * Remove dead/duplicated code that wasn't used/necessary
         because we already handled the docstring prior to entering the loop.
       * add some debugging code into the compiler (#if 0'd out).
      4ffedadb
  4. 04 Nis, 2006 1 kayıt (commit)
  5. 20 Eki, 2005 1 kayıt (commit)
  6. 15 Agu, 2005 1 kayıt (commit)
  7. 22 Mar, 2004 4 kayıt (commit)
  8. 01 May, 2003 1 kayıt (commit)
  9. 29 Nis, 2003 1 kayıt (commit)
  10. 17 Ara, 2002 1 kayıt (commit)
    • Michael W. Hudson's avatar
      This is Richie Hindle's patch · cfd38848
      Michael W. Hudson yazdı
      [ 643835 ] Set Next Statement for Python debuggers
      
      with a few tweaks by me: adding an unsigned or two, mentioning that
      not all jumps are allowed in the doc for pdb, adding a NEWS item and
      a note to whatsnew, and AuCTeX doing something cosmetic to libpdb.tex.
      cfd38848
  11. 09 Kas, 2002 1 kayıt (commit)
  12. 08 Kas, 2002 1 kayıt (commit)
    • Michael W. Hudson's avatar
      This is Richie Hindle's patch: · 006c7526
      Michael W. Hudson yazdı
      [ 631276 ] Exceptions raised by line trace function
      
      It conflicted with the patches from Armin I just checked it, so I had
      to so some bits by hand.
      006c7526
  13. 02 Eki, 2002 1 kayıt (commit)
  14. 11 Eyl, 2002 2 kayıt (commit)
  15. 30 Agu, 2002 1 kayıt (commit)
    • Michael W. Hudson's avatar
      Further SET_LINENO reomval fixes. See comments in patch #587933. · 53d58bb3
      Michael W. Hudson yazdı
      Use a slightly different strategy to determine when not to call the line
      trace function.  This removes the need for the RETURN_NONE opcode, so
      that's gone again.  Update docs and comments to match.
      
      Thanks to Neal and Armin!
      
      Also add a test suite.  This should have come with the original patch...
      53d58bb3