Message 341059 - Python tracker

Message341059

Author Epic_Wink
Recipients Epic_Wink, SilentGhost, p-ganssle, pitrou, steve.dower, xtreak
Date 2019-04-29.09:07:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556528836.3.0.720255885514.issue36602@roundup.psfhosted.org>
In-reply-to
Content
I've updated the pull-request to list directories pointed to by listed symbolic links, preventing cyclic listing. An extra instance method `pathlib.Path._iterdir_recursive` was added for this.

We still need to decide whether to yield the directories themselves rather than just the files under those directories. Very easy to implement this.

One thing I just realised is that a symlink can point to a subdirectory further down the chain. The current implementation will list the files under that directory using the symlink as prefix rather than the full path. Shouldn't matter though.
History
Date User Action Args
2019-04-29 09:07:16Epic_Winksetrecipients: + Epic_Wink, pitrou, SilentGhost, steve.dower, p-ganssle, xtreak
2019-04-29 09:07:16Epic_Winksetmessageid: <1556528836.3.0.720255885514.issue36602@roundup.psfhosted.org>
2019-04-29 09:07:16Epic_Winklinkissue36602 messages
2019-04-29 09:07:16Epic_Winkcreate