https://github.com/python/cpython/commit/e004cf8fd5c006a7a1c60807a03066f4c43452e5
commit: e004cf8fd5c006a7a1c60807a03066f4c43452e5
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-06-06T14:11:49+02:00
summary:
gh-134993: Add os.lstat() to os.supports_dir_fd (#135188)
files:
M Lib/os.py
diff --git a/Lib/os.py b/Lib/os.py
index 266e40b56f6c81..643a7b2f58176a 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -118,6 +118,7 @@ def _add(str, fn):
_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")
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]