cpython: af8c8551ea45 (original) (raw)

Mercurial > cpython

changeset 105883:af8c8551ea45 3.6

Issue #29079: Prevent infinite loop in pathlib.resolve() on Windows [#29079]

Steve Dower steve.dower@microsoft.com
date Wed, 28 Dec 2016 16:02:59 -0800
parents 048d1942b325
children 9de7bf6c60d2 0a55e039d25f
files Lib/pathlib.py Misc/NEWS
diffstat 2 files changed, 5 insertions(+), 1 deletions(-)[+] [-] Lib/pathlib.py 4 Misc/NEWS 2

line wrap: on

line diff

--- a/Lib/pathlib.py +++ b/Lib/pathlib.py @@ -192,7 +192,9 @@ class _WindowsFlavour(_Flavour): s = self._ext_to_normal(_getfinalpathname(s)) except FileNotFoundError: previous_s = s

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -40,6 +40,8 @@ Core and Builtins Library ------- +- Issue #29079: Prevent infinite loop in pathlib.resolve() on Windows +