[Python-Dev] Iterating over objects of unknown length