[sr-dev] git:master:9142d589: app_python3: use local var to avoid overlapping values when casting