Gregory P. Smith <g...@krypto.org> added the comment:

"""On Solaris, we are patching (for many years now) `posix_closerange` function 
to use `fdwalk` to close file descriptors instead of a for loop. While for a 
long time only Solaris had `fdwalk`, but if I am not mistaken, some other OSes 
implement it today as well and as such others might be interested in this as 
well.

If you will like it, I can create an issue for that. Also, I am not sure 
whether `_fdwalk_close_func` needs a clinic part or if configure detection is 
sufficient this way - I am open to all comments and ideas and can rewrite it as 
needed ;).

""" - Jakub

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38110>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to