This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients Christian Åkerström, eric.smith, eryksun, ethan smith, ishimoto, jaraco, living180, miss-islington, ncdave4life, pablogsal, paul.moore, pitrou, steve.dower, stutzbach, takluyver, tim.golden, zach.ware, Étienne Dupuis
Date 2019-08-22.00:17:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> We can find code that does `relpath(realpath(target), realpath(start))` to compute the relative path to target for a symlink. 

> In other words, the caller wants a solidified form of `start` that can be used to compute the path to a target for a relative symlink, but one that works when accessed from `start`, not the final path of `start`. 

I don't know how common this scenario is, but I can certainly say that it's never worked on Windows. You'd also end up with a relative symlink in a _real_ directory somewhere (that the junction was pointing at) that is unable to reach `target`, because it's now being resolved against the wrong start.

Relative symlinks are nearly as evil as symlink loops :)

Given there is no POSIX concept of a "final" path, a real path is the closest analogy. If this is the quality of edge case where that happens to break down, I'm okay with leaving it broken.

(Similarly for the junction/symlink combination on remote systems. I don't see any way that POSIX emulation can properly support that, but it seems like the far more rare case - and I say this as someone whose employer *lives and breathes* unnecessarily complicated SMB shares ;) I've never seen this become an issue.)
Date User Action Args
2019-08-22 00:17:50steve.dowersetrecipients: + steve.dower, paul.moore, ishimoto, jaraco, pitrou, eric.smith, tim.golden, stutzbach, living180, takluyver, zach.ware, ncdave4life, eryksun, Christian Åkerström, ethan smith, pablogsal, Étienne Dupuis, miss-islington
2019-08-22 00:17:50steve.dowersetmessageid: <>
2019-08-22 00:17:50steve.dowerlinkissue9949 messages
2019-08-22 00:17:50steve.dowercreate