Addressing code review comments to use intX and pydecref