Skip to content

Commit 2d30bb7

Browse files
committed
Add NEWS
1 parent f839db0 commit 2d30bb7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
:func:`os.path.realpath` now raises :exc:`OSError` when a symlink loop is
2+
encountered. Previously it returned a path with unresolved symlinks.
3+
4+
:func:`os.path.realpath` now accepts a *strict* keyword-only argument.
5+
When set to ``True``, :exc:`FileNotFoundException` is raised if a path
6+
doesn't exist.

0 commit comments

Comments
 (0)