[Python-Dev] Defining a path protocol

Brett Cannon brett at python.org
Wed Apr 6 16:28:02 EDT 2016


On Wed, 6 Apr 2016 at 13:20 Sven R. Kunze <srkunze at mail.de> wrote:

> On 06.04.2016 21:02, Alexander Belopolsky wrote:
>
> On Wed, Apr 6, 2016 at 2:32 PM, Brett Cannon <brett at python.org> wrote:
>
> +1 for __path__, +0 for __fspath__Â (I don't know how widespread the
>> notion that "fs" means "file system" is).
>
>
> Same here.  In the good old days, "fs" stood for a "Font Server."  And
> in even older (and better?) days, FS was a "Field Separator."
>
>
> The future is not the past. ;)
>
>
> What about
>
> __file_path__
>

Can be a directory as well (and you could argue semantics of file system
inodes, beginners won't know the subtlety and/or wonder where __dir_path__
is).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160406/62a41d2a/attachment.html>


More information about the Python-Dev mailing list