Closed
Description
Bug report
Bug description:
closefrom(3)
is available with >=glibc-2.34 on Linux (and Hurd, but, well...)
The check in Python/fileutils.c
is a bit too strict, as it hardcodes FreeBSD. This excludes both the aforementioned systems but also other BSDs where I believe it's available.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux