This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Add pathlib.PurePath.as_uri()
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.9
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: barneygale, corona10, pablogsal, pitrou, xtreak
Priority: normal Keywords:

Created on 2020-04-14 13:13 by pitrou, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg366384 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2020-04-14 13:13
"file" scheme URIs are normalized:

Therefore it would be possible to provide a PurePath method that returns a "file" scheme URI corresponding to the given path.
msg366389 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2020-04-14 14:24
+1 to add this :)
msg366651 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2020-04-17 09:56
Is this different from
msg366653 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2020-04-17 10:45
Hmm, it looks like I lost my head from 10 years ago :-S

Sorry for the noise, everyone.
Date User Action Args
2022-04-11 14:59:29adminsetgithub: 84462
2020-04-17 10:45:51pitrousetstatus: open -> closed
resolution: works for me
messages: + msg366653

stage: resolved
2020-04-17 09:56:23xtreaksetnosy: + xtreak
messages: + msg366651
2020-04-17 03:26:16pablogsalsetnosy: + pablogsal
2020-04-14 14:24:49corona10setnosy: + corona10
messages: + msg366389
2020-04-14 13:13:42pitrousetnosy: + barneygale
2020-04-14 13:13:01pitroucreate