python: update legion python top-level task to better emulate C Python
python: update legion python top-level task to better emulate C Python

StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion