This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barneygale
Recipients barneygale, pitrou, serhiy.storchaka, xtreak
Date 2020-03-09.14:56:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583765762.55.0.929163165364.issue39907@roundup.psfhosted.org>
In-reply-to
Content
Less reliable how? Doesn't appear any slower:

barney.gale@heilbron:~$ python3 -m timeit -s "import os; os.listdir('/usr/local')"
100000000 loops, best of 3: 0.0108 usec per loop
barney.gale@heilbron:~$ python3 -m timeit -s "import os; list(os.scandir('/usr/local'))"
100000000 loops, best of 3: 0.00919 usec per loop
History
Date User Action Args
2020-03-09 14:56:02barneygalesetrecipients: + barneygale, pitrou, serhiy.storchaka, xtreak
2020-03-09 14:56:02barneygalesetmessageid: <1583765762.55.0.929163165364.issue39907@roundup.psfhosted.org>
2020-03-09 14:56:02barneygalelinkissue39907 messages
2020-03-09 14:56:02barneygalecreate