static variable in Python using decoration