On Fri, 8 Apr 2016 at 15:21 Chris Barker - NOAA Federal < chris.bar...@noaa.gov> wrote:
> > On Apr 8, 2016, at 3:00 PM, Eric Snow <ericsnowcurren...@gmail.com> > wrote: > > > >> On Fri, Apr 8, 2016 at 12:25 PM, Brett Cannon <br...@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. > Depends if you use `/` or `\` as your path separator if they are truly OS-independent. :) -Brett > > 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 >
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com