Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
Bug description:
closefrom(3) is available with >=glibc-2.34 on Linux (and Hurd, but, well...)
The check inPython/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