]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116764: Fix regressions in urllib.parse.parse_qsl() (GH-116801)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 16 Mar 2024 10:36:05 +0000 (12:36 +0200)
committerGitHub <noreply@github.com>
Sat, 16 Mar 2024 10:36:05 +0000 (12:36 +0200)
commit1069a462f611f0b70b6eec0bba603d618a0378f3
treeb9c25621d01e5d5193f19f862dc83adec1aa10d7
parent269051d20e65eda30734cbbbdb07d21df61978d6
gh-116764: Fix regressions in urllib.parse.parse_qsl() (GH-116801)

* Restore support of None and other false values.
* Raise TypeError for non-zero integers and non-empty sequences.

The regressions were introduced in gh-74668
(bdba8ef42b15e651dc23374a08143cc2b4c4657d).
Lib/test/test_urlparse.py
Lib/urllib/parse.py
Misc/NEWS.d/next/Library/2024-03-14-14-01-46.gh-issue-116764.moB3Lc.rst [new file with mode: 0644]