[issue40358] pathlib's relative_to should behave like os.path.relpath

Domenico Ragusa report at bugs.python.org
Wed Apr 22 15:00:13 EDT 2020


Domenico Ragusa <domenicoragusa at gmail.com> added the comment:

Thanks for your answer. Yeah, I'm new, I'm reading the guide, sorry for any
faux pas :)

Ok, an option would be great as well, a simple True/False switch? Any
suggestion for the name?
I'll get back with a proper patch this time.

On Wed, Apr 22, 2020 at 8:18 PM Antoine Pitrou <report at bugs.python.org>
wrote:

>
> Antoine Pitrou <solipsis at pitrou.net> added the comment:
>
> The current behaviour is by design.  I would not mind adding an option to
> control it, though.
>
> If you are new to Python development and want to submit a patch or PR, I
> recommend reading the Developer's Guide:
> https://devguide.python.org/
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue40358>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40358>
_______________________________________


More information about the Python-bugs-list mailing list