[sr-dev] git:master:a5dcd979: app_python: use local var to avoid overlapping values when casting