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 Deniz Bozyigit, eryksun, gary ruben, giampaolo.rodola, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2019-02-19.16:53:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550595190.4.0.392256255946.issue33935@roundup.psfhosted.org>
In-reply-to
Content
Would it make sense to add a parameter to _getfinalpathname that specifies the type of the path? For same[open]file(), we can probably just go to the most unreadable but broadly supported type, whereas the other functions that are actually going to return the path can work their way up through easiest-to-read options.

I like the proposed logic for st_dev and st_ino, though I don't see any value in testing the drive name separately. At that point we've already gone to the filesystem driver, so any chances of doing it fast are gone and we may as well have simpler logic that goes straight to the full path.
History
Date User Action Args
2019-02-19 16:53:10steve.dowersetrecipients: + steve.dower, paul.moore, giampaolo.rodola, tim.golden, r.david.murray, zach.ware, eryksun, Deniz Bozyigit, gary ruben
2019-02-19 16:53:10steve.dowersetmessageid: <1550595190.4.0.392256255946.issue33935@roundup.psfhosted.org>
2019-02-19 16:53:10steve.dowerlinkissue33935 messages
2019-02-19 16:53:10steve.dowercreate