[New-bugs-announce] [issue44842] String conversion of Path removes '/' from original url

Manish Satwani report at bugs.python.org
Thu Aug 5 12:15:08 EDT 2021


New submission from Manish Satwani <manish.satwani at gmail.com>:

import pathlib
p = pathlib.Path('adl://myblob.azuredatalakestore.net/local/abc/xyz')
s = str(p)
print(s)
what you expect s to be??
There is a bug in path.Path.str(conversion to string) and it remove a slash
s is 'adl:/myblob.azuredatalakestore.net/local/abc/xyz' <-- this is getting print....plz fix it

----------
components: Library (Lib)
messages: 399008
nosy: manish.satwani
priority: normal
severity: normal
status: open
title: String conversion of Path removes '/' from original url
type: behavior
versions: Python 3.6

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


More information about the New-bugs-announce mailing list