]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-149083: Use sentinel for urllib.parse._UNSPECIFIED (GH-149612) (#151017)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 6 Jun 2026 13:13:52 +0000 (15:13 +0200)
committerGitHub <noreply@github.com>
Sat, 6 Jun 2026 13:13:52 +0000 (13:13 +0000)
commit9352936b4ec21a0237df09a8e416dca2401d7921
treecc3a86cc2e9d9e60490155ec33dfd3dc41fed99b
parentad8a3d33be021288dbcb17ab3c8e1d01e31386da
[3.15] gh-149083: Use sentinel for urllib.parse._UNSPECIFIED (GH-149612) (#151017)

This was added in 3.15; let's use a real sentinel instead of an ad-hoc list object.
(cherry picked from commit 884ac3e3ec02347301939ff1f124972d4973f015)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Lib/urllib/parse.py