1. 20 Mar, 2017 1 commit
    • Jason Madden's avatar
      Avoid raising a SystemError when clearing slots if setstate() failed. · e8b9c8e9
      Jason Madden authored
      PR #52 introduced a code path to `ghostify` that calls PyErr_Clear()
      with the intent to avoid propagating AttributeErrors for slots.
      
      However, if there is an error (like a POSKeyError) raised by
      jar.setstate(), then `unghostify` will call ghostify with an error
      pending. If the object had slots that weren't set and the
      AttributeError was cleared, so was the pending error from setstate. So
      when `ghostify` returned NULL that got propagated up to the
      interpreter which finds no exception and so raises `SystemError: error
      return without exception set`.
      
      This commit makes `unghostify` save and restore the exception state
      around the call to PyErr_Clear.
      e8b9c8e9
  2. 08 Mar, 2017 3 commits
  3. 27 Feb, 2017 1 commit
  4. 26 Feb, 2017 1 commit
  5. 23 Feb, 2017 2 commits
  6. 22 Feb, 2017 2 commits
  7. 16 Jan, 2017 1 commit
  8. 14 Jan, 2017 2 commits
  9. 13 Jan, 2017 5 commits
  10. 12 Jan, 2017 2 commits
  11. 22 Dec, 2016 1 commit
  12. 20 Dec, 2016 1 commit
  13. 19 Dec, 2016 9 commits
  14. 29 Nov, 2016 5 commits
  15. 15 Nov, 2016 2 commits
  16. 10 Aug, 2016 2 commits