CINXE.COM
[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE> [Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator </TITLE> <LINK REL="Index" HREF="index.html" > <LINK REL="made" HREF="mailto:python-dev%40python.org?Subject=Re%3A%20%5BPython-Dev%5D%20PEP%20471%20--%20os.scandir%28%29%20function%20--%20a%20better%20and%0A%20faster%20directory%20iterator&In-Reply-To=%3CCAN8CLgnuWW%2B0dVug3tfzqzF5D-WuSTaVS_N26zNctYic9Hoo2Q%40mail.gmail.com%3E"> <META NAME="robots" CONTENT="index,nofollow"> <style type="text/css"> pre { white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ } </style> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <LINK REL="Previous" HREF="135216.html"> <LINK REL="Next" HREF="135219.html"> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator</H1> <B>Tim Delaney</B> <A HREF="mailto:python-dev%40python.org?Subject=Re%3A%20%5BPython-Dev%5D%20PEP%20471%20--%20os.scandir%28%29%20function%20--%20a%20better%20and%0A%20faster%20directory%20iterator&In-Reply-To=%3CCAN8CLgnuWW%2B0dVug3tfzqzF5D-WuSTaVS_N26zNctYic9Hoo2Q%40mail.gmail.com%3E" TITLE="[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator">timothy.c.delaney at gmail.com </A><BR> <I>Fri Jun 27 01:36:28 CEST 2014</I> <P><UL> <LI>Previous message: <A HREF="135216.html">[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator </A></li> <LI>Next message: <A HREF="135219.html">[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#135217">[ date ]</a> <a href="thread.html#135217">[ thread ]</a> <a href="subject.html#135217">[ subject ]</a> <a href="author.html#135217">[ author ]</a> </LI> </UL> <HR> <!--beginarticle--> <PRE>On 27 June 2014 09:28, MRAB <<A HREF="https://mail.python.org/mailman/listinfo/python-dev">python at mrabarnett.plus.com</A>> wrote: ><i> Personally, I'd prefer the name 'iterdir' because it emphasises that </I>><i> it's an iterator. </I> Exactly what I was going to post (with the added note that thee's an obvious symmetry with listdir). +1 for iterdir rather than scandir Other than that: +1 for adding scandir to the stdlib -1 for windows_wildcard (it would be an attractive nuisance to write windows-only code) Tim Delaney -------------- next part -------------- An HTML attachment was scrubbed... URL: <<A HREF="http://mail.python.org/pipermail/python-dev/attachments/20140627/173eb80f/attachment.html">http://mail.python.org/pipermail/python-dev/attachments/20140627/173eb80f/attachment.html</A>> </PRE> <!--endarticle--> <HR> <P><UL> <!--threads--> <LI>Previous message: <A HREF="135216.html">[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator </A></li> <LI>Next message: <A HREF="135219.html">[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#135217">[ date ]</a> <a href="thread.html#135217">[ thread ]</a> <a href="subject.html#135217">[ subject ]</a> <a href="author.html#135217">[ author ]</a> </LI> </UL> <hr> <a href="https://mail.python.org/mailman/listinfo/python-dev">More information about the Python-Dev mailing list</a><br> </body></html>