[issue39533] Use `statx(2)` system call on Linux for extended `os.stat` information
Christian Heimes
report at bugs.python.org
Sun May 17 11:29:10 EDT 2020
Christian Heimes <lists at cheimes.de> added the comment:
The statx call was introduced by Kernel 4.11 in 2017. Major LTS Linux distributions like Debian 9, Ubuntu 16.04, and CentOS 7 use older Kernels like Linux 4.9 LTS or 3.10 LTS.
In general we try to support older Kernel ABIs even when Python is compiled on a system with more recent ABI. This means you have to perform a runtime feature detection and fall back to old stat when the syscall fails.
----------
nosy: +christian.heimes
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39533>
_______________________________________
More information about the Python-bugs-list
mailing list