python have it's own state