Caller function has arguments of type long in its signature. Thus, PyLong_FromLong is more appropriate and does not break the code as it was before (runtime_error was being thrown).
This fix was reported by #310 and successfully tested on Linux Fedora.
Caller function has arguments of type
long
in its signature. Thus,PyLong_FromLong
is more appropriate and does not break the code as it was before (runtime_error was being thrown).This fix was reported by #310 and successfully tested on Linux Fedora.