Closed jtrutna closed 9 years ago
Okay, other than the comments above (which are all minor), this looks good to me.
Comments addressed. Could you take a quick look at the quick_predict function and make sure there aren't any lurking bugs with my use of a local goto?
Cool, this looks good to me. (In theory I think you're also supposed to free your new py_obs reference if the subsequent PyList_Append fails, but I can't imagine that ever being a problem in practice -- it's a tiny memory leak, and it'll only happen if you're already out of memory for other reasons. Manual memory management sucks.)
Also added exceptions on failure cases in C code.
@mconst-nanosatisfi