summaryrefslogtreecommitdiffstats
path: root/Python/gc_free_threading.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2025-04-14 00:49:02 (GMT)
committerGitHub <noreply@github.com>2025-04-14 00:49:02 (GMT)
commitccad61e35d240972d14f993507566706fbf419f1 (patch)
tree05a920c319a1a3aca905d95bd57af515ca6e6608 /Python/gc_free_threading.c
parent4d3ad0467e5cb145b1f4bde4be5eb776946a4269 (diff)
downloadcpython-ccad61e35d240972d14f993507566706fbf419f1.zip
cpython-ccad61e35d240972d14f993507566706fbf419f1.tar.gz
cpython-ccad61e35d240972d14f993507566706fbf419f1.tar.bz2
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>
Diffstat (limited to 'Python/gc_free_threading.c')
0 files changed, 0 insertions, 0 deletions