b227f1d python: Use Py_BuildValue("i", ...) to create py integers

1 file Authored by abawer 5 years ago, Committed by nsoffer 5 years ago,
    python: Use Py_BuildValue("i", ...) to create py integers
    
    Preserve compatibility for both Py3 and Py2.
    
    - Py2: will construct new PyInt
    - Py3: will construct new PyLong
    
    Both Py versions will build and pass tests at this point.
    
        
file modified
+2 -2