Issue 44412: Add os.path.fileuri() function (original) (raw)

Proposal:

Rationale:

Further discussion on python-ideas: https://discuss.python.org/t/pathlib-and-os-path-feature-parity-and-code-de-duplication/9239

Related: bpo-44403, bpo-44136, bpo-24132