A study in singleton usage in python