]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-149083: Use sentinel for urllib.parse._UNSPECIFIED (#149612)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Sat, 6 Jun 2026 12:47:33 +0000 (05:47 -0700)
committerGitHub <noreply@github.com>
Sat, 6 Jun 2026 12:47:33 +0000 (05:47 -0700)
commit884ac3e3ec02347301939ff1f124972d4973f015
tree472c2ac53e9b70fd30b51df8bbc1a30d094d0c23
parentfded34d6fe8c300f5625b7fddb86a4c56ecc35c5
gh-149083: Use sentinel for urllib.parse._UNSPECIFIED (#149612)

This was added in 3.15; let's use a real sentinel instead of an ad-hoc list object.
Lib/urllib/parse.py