[Python-ideas] Add static variable storage in functions