]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-60203: Revert changes in cycle.__setstate__ (GH-99982) (#100016)
authorŁukasz Langa <lukasz@langa.pl>
Mon, 5 Dec 2022 16:58:40 +0000 (17:58 +0100)
committerGitHub <noreply@github.com>
Mon, 5 Dec 2022 16:58:40 +0000 (17:58 +0100)
commit32a2193f67aac1fc740d53f4de9205aa605a7017
treed570bf43f32cd05726631d5eff8e5224830cff25
parent4a7612fbecbdd81a6e708e29aab0dc4c6555948d
[3.11] gh-60203: Revert changes in cycle.__setstate__ (GH-99982) (#100016)

In case if only True/False be supported as boolean arguments in future,
we should continue to support 1/0 here.
(cherry picked from commit 922a6cf6c265e2763a003291885ff74d46203fc3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_itertools.py
Modules/itertoolsmodule.c