[Python-ideas] Subpaths [was Re: PEP 428 - object-oriented filesystem paths]

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Oct 9 10:13:25 CEST 2012


Steven D'Aprano wrote:

> The point is, despite the common "sub" prefix, the semantics of
> "subdirectory" is quite different from the semantics of "substring",
> "subset", "subtree" and "subpath".

I think the "sub" in "subdirectory" is more in the
sense of "below", rather than "is a part of". Like a
submarine is something that travels below the surface of
the sea, not something that's part of the sea.

-- 
Greg




More information about the Python-ideas mailing list