mirror of https://github.com/go-python/gopy.git
84915debe0
This commit starts to address the issue of a non-NULL PyObject* being returned when an exception has been set by the wrapped C function. Adds a checking mechanism for PyErr_Occurred. Results in exceptions being propagated to python caller, but may introduce memory leaks for retval not being cleaned up during error. Refs go-python/gopy #254 |
||
---|---|---|
.. | ||
pyerrors.go | ||
test.py |