[Python-Dev] Defining a path protocol

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 7 02:15:40 EDT 2016

Chris Barker - NOAA Federal wrote:
> But fspath(), if it exists, would call __fspath__ on an arbitrary
> object, and create a new string -- not a new Path. That may be
> confusing...

Maybe something like fspathstr/__fspathstr__ would be better?


More information about the Python-Dev mailing list