1. 12 Aug, 2015 3 commits
  2. 11 Aug, 2015 20 commits
  3. 10 Aug, 2015 11 commits
  4. 09 Aug, 2015 6 commits
    • Kevin Modzelewski's avatar
      Use profiling to know when to throw CAPI exceptions · 2d7d24ca
      Kevin Modzelewski authored
      Also, allow reraising using CAPI exceptions.
      2d7d24ca
    • Kevin Modzelewski's avatar
      Merge pull request #815 from kmod/exceptions · 3307cddc
      Kevin Modzelewski authored
      Clean up our exception handling
      3307cddc
    • Kevin Modzelewski's avatar
      Ignore t3.py as well · fcad2a61
      Kevin Modzelewski authored
      I use like to use test/tests/t.py and t2.py as temporary test files,
      so that they can get hooked into the makefile helpers, but the tester
      ignores them.  Do this for t3.py too.
      fcad2a61
    • Kevin Modzelewski's avatar
      Rename these functions · 91ac4569
      Kevin Modzelewski authored
      91ac4569
    • Kevin Modzelewski's avatar
      Move a bunch of stuff out of UnwindSession · 4b7c277f
      Kevin Modzelewski authored
      It was pretty unwieldy and handled some disparate parts of the
      exception-raising process.  I think things are a bit cleaner now:
      - cxx_unwind.cpp handles C++ unwinding semantics
      - unwinding.cpp converts C stacks to Python stacks
      - exceptions.cpp takes Python stack frames and handles them appropriately
      
      So for throwing a C++ exception, it starts out in cxx_unwind.cpp, which
      then hands off the C frames to unwinding.cpp, which then hands off the
      Python frames to exceptions.cpp.  When we get exceptions not via uncaught
      C++ exceptions (ie explicitly handled C++ exceptions or CAPI exceptions),
      those go directly into exceptions.cpp.  There are also non-exception cases
      that we want to get the Python stack trace (ex sys._getframe), and those
      are handled by unwinding.cpp
      4b7c277f
    • Kevin Modzelewski's avatar
      Factor out the "C stack->Python stack" conversion · 10ac9f32
      Kevin Modzelewski authored
      We have a couple different ways of walking the C stack
      (C++ exception unwinding and non-destructing stack crawling),
      and they both want to do this to reconstruct the Python stack.
      Extract out the common code.
      10ac9f32