add python instruction extension support