https://github.com/python/cpython/commit/793de28b4034cd076343ed98d420987ee3ac8756
commit: 793de28b4034cd076343ed98d420987ee3ac8756
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: vstinner <vstin...@python.org>
date: 2025-06-06T12:36:50Z
summary:

[3.13] gh-134993: Add os.lstat() to os.supports_dir_fd (GH-135188) (#135206)

gh-134993: Add os.lstat() to os.supports_dir_fd (GH-135188)
(cherry picked from commit e004cf8fd5c006a7a1c60807a03066f4c43452e5)

Co-authored-by: Victor Stinner <vstin...@python.org>

files:
M Lib/os.py

diff --git a/Lib/os.py b/Lib/os.py
index 36471155ce4fc3..b4c9f84c36d565 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -110,6 +110,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 -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to