]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] bpo-36035: fix Path.rglob for broken links (GH-11988) (GH-13469)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 May 2019 19:05:08 +0000 (12:05 -0700)
committerGitHub <noreply@github.com>
Tue, 21 May 2019 19:05:08 +0000 (12:05 -0700)
commitaea49b18752880e5d0260f16ca7ff2c6dce78515
tree9567dc9c0bc6ea7bcf05dd23837e0dadcb1320f4
parent390d88e49c55c15fac7cdf60b649a4b9b15d189b
[3.7] bpo-36035: fix Path.rglob for broken links (GH-11988) (GH-13469)

Links creating an infinite symlink loop would raise an exception.
(cherry picked from commit d5c120f7eb6f2a9cdab282a5d588afed307a23df)

Co-authored-by: Jörg Stucke <joerg.stucke@fkie.fraunhofer.de>
https://bugs.python.org/issue36035
Lib/pathlib.py
Lib/test/test_pathlib.py
Misc/NEWS.d/next/Core and Builtins/2019-02-22-14-30-19.bpo-36035.-6dy1y.rst [new file with mode: 0644]