[Python-ideas] BetterWalk, a better and faster os.walk() for Python
Nick Coghlan
ncoghlan at gmail.com
Sun Nov 25 04:47:05 CET 2012
On Sun, Nov 25, 2012 at 9:27 AM, Andrew Barnert <abarnert at yahoo.com> wrote:
> This can only be implemented on platforms that support the *at functions. I
> believe that means just linux and OpenBSD right now, other *BSD (including
> OS X)
> at some unspecified point in the future. Putting something like that in the
> stdlib would probably require also adding another function like
> os_supports_at
> (similar to supports_fd, supports_dirfd, etc.), but that's not a big deal.
>
FWIW, if "supports_dirfd" is non-empty, you can be pretty sure that the
underlying OS supports the *at APIs, as that's how the dirfd argument gets
used by the affected functions.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121125/990d2161/attachment.html>
More information about the Python-ideas
mailing list