SilentGhost added the comment:

Do you mean that /foo was just an arbitrary string, rather than one of the 
parent directories? Because in that case it seems a perfectly correct way to go 
about comparison. If /foo was one of the parents, there are plenty of options: 
.parts, .parents, .relative_to.

It seems like a fairly rare usecase to extend the api.

----------
nosy: +SilentGhost

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28560>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to