if (res == -1 && PyErr_Occurred()) return NULL; ! return PyInt_FromLong((long)res); } --- 3577,3583 ---- if (res == -1 && PyErr_Occurred()) return NULL; ! ret = PyObject_IsTrue(PyInt_FromLong((long)res)) ? Py_True : Py_False; The line above leaks and does unnecessary work. I believe it should read: ret = res ? Py_True : Py_False; Also, there is another one of these in Objects/descrobject.c line 712. Raymond Hettinger
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4