pidl/Python: remove todo handling from PythonFunction(), it's done by the caller