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

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