To avoid unsigned conversion use of PyLong_AsUnsignedLong