Support PyTuple_GET_ITEM
Introduce IrProgram and "patch"