[Python-Dev] Defining a path protocol (original) (raw)

Brett Cannon brett at python.org
Wed Apr 6 15:40:16 EDT 2016


On Wed, 6 Apr 2016 at 12:38 Oleg Broytman <phd at phdru.name> wrote:

On Wed, Apr 06, 2016 at 11:54:08AM -0700, Ethan Furman <ethan at stoneleaf.us> wrote: > On 04/06/2016 11:32 AM, Brett Cannon wrote: > >On Wed, 6 Apr 2016 at 11:06 Ethan Furman wrote: > >>On 04/06/2016 10:26 AM, Brett Cannon wrote: > > >>>Now we need clear details. :) Some open questions are: > >>> > >>> 1. Name: path, fspath, or something else? > >> > >>fspath > > > >+1 for path, +0 for fspath (I don't know how widespread the > >notion that "fs" means "file system" is). > > Maybe ospath then? I would rather be explicit about the type of path > we are dealing with -- who knows if we won't have urlpath in the future > (besides Guido, of course ;)

pathstr? urlstr?

But we didn't call it indexint either. No need to embed the type in the name.

-Brett

Oleg. -- Oleg Broytman http://phdru.name/ phd at phdru.name Programmers don't die, they just GOSUB without RETURN.


Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160406/61c58f44/attachment-0001.html>



More information about the Python-Dev mailing list