mike meyer tlfmiredorg wed 30 apr 2008 080228 0700 guido van rossum wrote wed apr 30 2008 748 aahz wrote tue apr 29 2008 guido van rossum wrote tue apr 29 2008 810 pm tim heaney wrote speaking late lobby iterator version oslistdir perhaps listdir would best name one httpwxidlesourceforgenetprojectsxlistdir think ought standard library moreover thing shouldnt oswalk use instead lists im sure see advantage iterator doubt ever enough memory hold contents single directory compelling use case theres big difference enough memory directory consumes lots memory company directories several hundred thousand entries using iterator would appreciated although time upgrade python 3x probably fixed architecture even talking tens megabytes worst killer painful wow filesystem isnt impossibly slow accessing last file directory modern file system hash directory entries access time name essentially o1 well beyond 50k files directory anyway id fine separate osopendir call returns iterator iterator object also optional close method explicitly frees underlying file descriptor whatever used windows think real win file systems return files welldefined order process save memory use order skip looking completely thats save disk io since filesystem dependent would nice osopendir required preserve ordering semantics underlying system httpwwwmiredorgconsultinghtml independent networkunixperforce consultant email information _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom sat 02 aug 2008 152809 0400 python3000 removal ospathwalk