Re: [Python-Dev] Defining a path protocol

2016年4月06日 21:40:47 -0700

Chris Barker writes:
 > which I suppose we do -- there are already other path implimentaitons out
 > there (though at least some are strings :-) )
Even so, their __fspath__ implementation might return syntactically
canonicalized or realpath paths, rather than whatever is input. If
cached and the path frequently accessed, the realpath implementation
might be a significant win in some applications.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to