Add stub Python patch