]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Reword 3.9.23 notable changes to reflect status of backports
authorŁukasz Langa <lukasz@langa.pl>
Tue, 3 Jun 2025 18:33:38 +0000 (20:33 +0200)
committerŁukasz Langa <lukasz@langa.pl>
Tue, 3 Jun 2025 18:33:38 +0000 (20:33 +0200)
Doc/whatsnew/3.9.rst

index 8196f76f1e294a88d02a25a628e3cdd823bf4352..18bdf386085e8ea1fe31a9b378969bfb7cd6db97 100644 (file)
@@ -1670,9 +1670,10 @@ Notable changes in 3.9.23
 os.path
 -------
 
-* The *strict* parameter to :func:`os.path.realpath` accepts a new value,
-  :data:`os.path.ALLOW_MISSING`.
-  If used, errors other than :exc:`FileNotFoundError` will be re-raised;
+* The *strict* parameter was backported to :func:`os.path.realpath` to
+  allow for ``tarfile`` to use it for security vulnerability mitigation.
+  In particular, when *strict* is set to :data:`os.path.ALLOW_MISSING`,
+  errors other than :exc:`FileNotFoundError` will be re-raised;
   the resulting path can be missing but it will be free of symlinks.
   (Contributed by Petr Viktorin for CVE 2025-4517.)