SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

GH-125866: Support complete "file:" URLs in urllib (#132378)

Add optional *add_scheme* argument to `urllib.request.pathname2url()`; when
set to true, a complete URL is returned. Likewise add optional
*require_scheme* argument to `url2pathname()`; when set to true, a complete
URL is accepted.

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
B
Barney Gale committed
ccad61e35d240972d14f993507566706fbf419f1
Parent: 4d3ad04
Committed by GitHub <noreply@github.com> on 4/14/2025, 12:49:02 AM