Closed johncf closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
b4b5d64
) to head (3099979
). Report is 1 commits behind head on master.
Can we merge?
Yes, this is ready to merge. Should I merge, or do you merge?
thanks for this PR, ping me in another PR when it's ready =)
When I was working on #297, I noticed that functions that don't return
NULL
after setting error doesn't raise exception. But when an exception is later thrown, it causes Python to raise aSystem Error
apparently because an exception was set earlier but was never thrown. This PR aims to fix some of these issues where returningNULL
is more appropriate.Disclaimer: I am not an expert in Python C-API. I'm still learning (and have questions). So please review this carefully.