gh-67041: Allow to distinguish between empty and not defined URI components (GH-123305)
Changes in the urllib.parse module: * Add option missing_as_none in urlparse(), urlsplit() and urldefrag(). If it is true, represent not defined components as None instead of an empty string. * Add option keep_empty in urlunparse() and urlunsplit(). If it is true, keep empty non-None components in the resulting string.
S
Serhiy Storchaka committed
c5cfcdf16a98063530bdfe11a8894ab57aea3d92
Parent: 67535ab
Committed by GitHub <noreply@github.com>
on 1/22/2026, 12:29:13 PM