[Python-Dev] Optimizing variable access