[New-bugs-announce] [issue40281] Add pathlib.PurePath.as_uri()

Antoine Pitrou report at bugs.python.org
Tue Apr 14 09:13:01 EDT 2020


New submission from Antoine Pitrou <solipsis at pitrou.net>:

"file" scheme URIs are normalized:
https://tools.ietf.org/html/rfc8089

Therefore it would be possible to provide a PurePath method that returns a "file" scheme URI corresponding to the given path.

----------
components: Library (Lib)
messages: 366384
nosy: pitrou
priority: normal
severity: normal
status: open
title: Add pathlib.PurePath.as_uri()
type: enhancement
versions: Python 3.9

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


More information about the New-bugs-announce mailing list