Message340135
> I don't spend enough time dealing with symlinks to have strong opinions there, but given we have ways to resolve symlinks but not to get back to the original name (and I *have* had to deal with issues where I've needed to find the original name from the target :roll-eyes:) I'd say don't resolve anything eagerly.
You mean treating symlinks to directories like files? I suppose that's a possibility, but I do think it will end up being a source of bugs around symlinking.
Admittedly, it *is* apparently what rglob('*') does (just tested it - apparently it won't follow symlinks to directories), though I think it might be a better interface to try to break cycles rather than not follow symlinks (particularly since `iterdir` currently treats symlinks to directories as directories). |
|
Date |
User |
Action |
Args |
2019-04-13 00:13:09 | p-ganssle | set | recipients:
+ p-ganssle, pitrou, SilentGhost, steve.dower, xtreak, Epic_Wink |
2019-04-13 00:13:09 | p-ganssle | set | messageid: <1555114389.64.0.969219216591.issue36602@roundup.psfhosted.org> |
2019-04-13 00:13:09 | p-ganssle | link | issue36602 messages |
2019-04-13 00:13:09 | p-ganssle | create | |
|