[Python-ideas] setting function properties with a decorator syntax