Peter Hansen wrote: > 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.
Hm. It was suggested on python-dev and among my first modifications. I didn't see objections till now, but as you're saying, parent is probably better. Reinhold -- http://mail.python.org/mailman/listinfo/python-list