[issue20012] Re: Allow Path.relative_to() to accept non-ancestor paths

Anurag Kulkarni report at bugs.python.org
Wed Dec 18 07:55:45 CET 2013


Anurag Kulkarni added the comment:

Hey! 
A few changes are required to accomplish what you seek, but results could be severe. Path.relative_to() should return an exception if relative path is not part of the original path. However, I have got a solution for that. I am not that familiar with python and I need you to give me some time. I hope you would acknowledge my efforts.
Regards

----------
nosy: +aukbten
title: Allow Path.relative_to() to accept non-ancestor paths -> Re: Allow Path.relative_to() to accept non-ancestor paths

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20012>
_______________________________________


More information about the Python-bugs-list mailing list