bpo-38110: Use fdwalk for os.closerange() when available. (GH-15224)


Use fdwalk() on platforms that support it to implement os.closerange().
(cherry picked from commit e20134f889a0cfcc37a46979f31a1c98b800de07)

Co-authored-by: Jakub KulĂ­k <Kulikjak@gmail.com>
5 files changed