Re: [Python-Dev] Defining a path protocol

2016年4月06日 14:18:07 -0700

On 06.04.2016 22:55, Brett Cannon wrote:
On Wed, 6 Apr 2016 at 13:54 Sven R. Kunze <[email protected] <mailto:[email protected]>> wrote:
 Furthermore, we MIGHT later want some URI support, so I don't know
 off the top of my head if there's a difference between __fspath__
 and __urlpath__ but better separate it now. Later we can re-merge
 then if necessary.
There's a difference as a URL represents something different than a file system path (URI doesn't necessarily). Plus the serialized format would be different, etc.
Sure. URLs and URIs are more than just paths. I would expect __urlpath__ to be different than __url__ itself but if that's is a different discussion.
So, __fspath__ for me. :)
Best,
Sven
_______________________________________________
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