Closed Jman012 closed 10 years ago
actually we should raise exception here instead of returning value, so sorry I have to revert this patch.
No problem. I don't know the Python C API enough to raise an exception, though. I only did this based on how the other functions returned integers.
Sure, with this function seting PyErr_SetString and returning NULL will raise the appropriate execption.
...d of None.