Python Borg pattern