From: Victor Stinner Date: Fri, 6 Jun 2025 12:11:49 +0000 (+0200) Subject: gh-134993: Add os.lstat() to os.supports_dir_fd (#135188) X-Git-Tag: v3.15.0a1~1374 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e004cf8fd5c006a7a1c60807a03066f4c43452e5;p=thirdparty%2FPython%2Fcpython.git gh-134993: Add os.lstat() to os.supports_dir_fd (#135188) --- diff --git a/Lib/os.py b/Lib/os.py index 266e40b56f6c..643a7b2f5817 100644 --- a/Lib/os.py +++ b/Lib/os.py @@ -118,6 +118,7 @@ if _exists("_have_functions"): _add("HAVE_FCHMODAT", "chmod") _add("HAVE_FCHOWNAT", "chown") _add("HAVE_FSTATAT", "stat") + _add("HAVE_LSTAT", "lstat") _add("HAVE_FUTIMESAT", "utime") _add("HAVE_LINKAT", "link") _add("HAVE_MKDIRAT", "mkdir")