]> granicus.if.org Git - python/commit
bpo-36035: fix Path.rglob for broken links (GH-11988)
authorJörg Stucke <joerg.stucke@fkie.fraunhofer.de>
Tue, 21 May 2019 17:44:40 +0000 (19:44 +0200)
committerAntoine Pitrou <antoine@python.org>
Tue, 21 May 2019 17:44:40 +0000 (19:44 +0200)
commitd5c120f7eb6f2a9cdab282a5d588afed307a23df
tree60b1882411bd299e6d2332185a099ba3ee3af56a
parentccb7ca728e09b307f9e9fd36ec40353137e68a3b
bpo-36035: fix Path.rglob for broken links (GH-11988)

Links creating an infinite symlink loop would raise an exception.
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]