[Python-Dev] os.path.normcase rationale?
James Y Knight
foom at fuhm.net
Sun Oct 3 15:32:44 CEST 2010
On Oct 3, 2010, at 9:18 AM, Dan Villiom Podlaski Christiansen wrote:
> A simpler alternative would probably be the F_GETPATH fcntl. An example:
That requires that you have permission to open the file (and to actually do so which might have other effects), while the File Manager's FSRef method does not.
If Python adds a cross-platform function to do this canonicalization, users don't have to worry about how easy it is to invoke in pure-python...
James
More information about the Python-Dev
mailing list