A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-April/143725.html below:

[Python-Dev] Defining a path protocol

[Python-Dev] Defining a path protocol [Python-Dev] Defining a path protocolSven R. Kunze srkunze at mail.de
Wed Apr 6 17:15:17 EDT 2016
On 06.04.2016 22:55, Brett Cannon wrote:
> On Wed, 6 Apr 2016 at 13:54 Sven R. Kunze <srkunze at mail.de 
> <mailto:srkunze at mail.de>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160406/bdf3cb75/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4