[Python-Dev] Pathlib enhancments - method name only

Chris Barker chris.barker at noaa.gov
Fri Apr 8 14:20:21 EDT 2016


On Fri, Apr 8, 2016 at 11:13 AM, Ethan Furman <ethan at stoneleaf.us> wrote:

> So the plausible choices are, I think:
>
> - __fspath__  # File System Path -- possible confusion with Path
>
> - __fsstr__   # File System String


I think we really need "path" in there somewhere....


>
> - __fspathstr__ # File System Path String -- zero ambiguity, but
>                 # what a mouthful
>

we rejected plain old __path__ because this is already ued in another
context, but if we add "str" on the end, that's not longer an issue, so do
we need the "fs"?

__pathstr__ # pathstring

-CHB



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160408/deb4ee45/attachment.html>


More information about the Python-Dev mailing list