summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-18 23:12:19 (GMT)
committerGitHub <noreply@github.com>2024-05-18 23:12:19 (GMT)
commit7407267ce47d95d41acd2e7e6a5cc9c0e70d2ccd (patch)
treec73224b5e85e4c2bac4f4c442f7b9660e1d3ddf3 /Misc/NEWS.d
parent91296146d5ac74fea2377b4af64def63171a7723 (diff)
downloadcpython-7407267ce47d95d41acd2e7e6a5cc9c0e70d2ccd.zip
cpython-7407267ce47d95d41acd2e7e6a5cc9c0e70d2ccd.tar.gz
cpython-7407267ce47d95d41acd2e7e6a5cc9c0e70d2ccd.tar.bz2
[3.13] GH-118447: Fix handling of unreadable symlinks in `os.path.realpath()` (GH-118489) (#119163)
(cherry picked from commit caf6064a1bc15ac344afd78b780188e60b9c628e) Co-authored-by: Barney Gale <barney.gale@gmail.com> Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2024-05-01-22-24-05.gh-issue-110863.GjYBbq.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-05-01-22-24-05.gh-issue-110863.GjYBbq.rst b/Misc/NEWS.d/next/Library/2024-05-01-22-24-05.gh-issue-110863.GjYBbq.rst
new file mode 100644
index 0000000..37e27a6
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-05-01-22-24-05.gh-issue-110863.GjYBbq.rst
@@ -0,0 +1,2 @@
+:func:`os.path.realpath` now suppresses any :exc:`OSError` from
+:func:`os.readlink` when *strict* mode is disabled (the default).