python use lru for dict cache .