python objects persistence - prevalence pattern