PEP on path module for standard library
peter at engcorp.com
Sat Jul 30 19:28:08 CEST 2005
Reinhold Birkenfeld wrote:
> Mike Orr wrote:
>>- I saw in a thread that .name and .parent were removed. I use them
>>very frequently, along with .ext and .namebase. I don't want to call
>>methods for these.
> They are now named .basename and .directory.
Reinhold, is ".parent" now ".directory"? Does that still make sense
when the Path contains a directory and not a file name? It seems to me
more general to have .parent in there where it makes sense for both cases.
More information about the Python-list