Author steve.dower
Recipients eryksun, jaraco, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-05-18.14:33:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589812398.77.0.722341957261.issue40654@roundup.psfhosted.org>
In-reply-to
Content
Ah right, it's realpath() that has the final step to remove an unnecessary \\?\ prefix.

Firstly, I still think fixing copy is more important and more valuable.

Given the possibility that the print name won't point to the real target, I'd much prefer to keep reading the substitute name. In this case, this looks like a change between versions (3.7->3.8) rather than a bug (assuming the symlink works, which hasn't been mentioned yet), and while it does result in needing a test update in Path, I don't think it makes sense to push that fix upstream. Changing readlink to always return the correct path was deliberate.

Unless you're specifically testing single steps through symlink chains, you probably want to just use realpath anyway. Presumably you weren't using that beforehand because it didn't work, but the same fix fixed that, and we do extra work to retain the existing behaviour of the higher-level function (including rejecting junctions, unlike readlink).
History
Date User Action Args
2020-05-18 14:33:18steve.dowersetrecipients: + steve.dower, paul.moore, jaraco, tim.golden, zach.ware, eryksun
2020-05-18 14:33:18steve.dowersetmessageid: <1589812398.77.0.722341957261.issue40654@roundup.psfhosted.org>
2020-05-18 14:33:18steve.dowerlinkissue40654 messages
2020-05-18 14:33:18steve.dowercreate