https://github.com/python/cpython/commit/4e2e02eec9b8d16337fb48f32eeddc535e4c07cb commit: 4e2e02eec9b8d16337fb48f32eeddc535e4c07cb branch: 3.14 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: vstinner <vstin...@python.org> date: 2025-06-06T12:38:59Z summary:
[3.14] gh-134993: Add os.lstat() to os.supports_dir_fd (GH-135188) (#135205) 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 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 -- 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