[issue44842] String conversion of Path removes '/' from original url

Eric V. Smith report at bugs.python.org
Thu Aug 5 12:30:00 EDT 2021


Eric V. Smith <eric at trueblade.com> added the comment:

pathlib is not designed to support URIs, so this behavior is not surprising. 

You want to use a different library, maybe urllib.

----------
nosy: +eric.smith

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


More information about the Python-bugs-list mailing list