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/143822.html below:

[Python-Dev] Pathlib enhancments - method name only

[Python-Dev] Pathlib enhancments - method name onlyChris Barker - NOAA Federal chris.barker at noaa.gov
Fri Apr 8 18:21:12 EDT 2016
> On Apr 8, 2016, at 3:00 PM, Eric Snow <ericsnowcurrently at gmail.com> wrote:
>
>> On Fri, Apr 8, 2016 at 12:25 PM, Brett Cannon <brett at python.org> wrote:
>> I personally still like __ospath__ as well.
>
> Same here.  The strings are essentially an OS-dependent serialization,
> rather than related to a particular file system.

Huh? I though the strings were a OS-independent, human readable
serialization and interchange format.

Bytes would be the OS-dependent serialization.

But yes, I suppose the file-system-level version would be inodes or something.

But this is a string that represents a path, thus __pathstr__. And the
term "path" is used all over the place (including os.path and pathlib)
for this particular type of path, so I don't see why we need the "fs"
or "os", other than the fact that __path__ is already taken.

But I'm looking forward to using this bike shed regardless of its
color, so that's the last I'll comment on that.

-CHB
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