ref: 754a987c084743a71214f5381673ef56168f9376
parent: ca9d5aafe57a62ee10a1a8fcbe29927464a8371c
author: Paul Brossier <piem@piem.org>
date: Wed Dec 19 12:14:08 EST 2018
[py] py-cvec uses PyLong_FromLong
--- a/python/ext/py-cvec.c
+++ b/python/ext/py-cvec.c
@@ -136,7 +136,7 @@
goto fail;
}
- args = Py_BuildValue ("I", self->length);
+ args = PyLong_FromLong(self->length);
if (args == NULL) {
goto fail;
}