[Python-ideas] nonlocal functions