`PyInt_FromUnsignedLong` is not defined in Python 2.7 on 64bit OS X. Maybe add a check and fall back to `PyLong_FromUnsginedLong`?
PyInt_FromUnsignedLongis not defined in Python 2.7 on 64bit OS X. Maybe add a check and fall back toPyLong_FromUnsginedLong?