]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45061: Revert unicode_is_singleton() change (GH-28516)
authorVictor Stinner <vstinner@python.org>
Wed, 22 Sep 2021 10:16:53 +0000 (12:16 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 10:16:53 +0000 (12:16 +0200)
commit8620be99da930230b18ec05f4d7446ee403531af
tree412a6fc52bed7dca744fb7f2b5a1295650a42f67
parent8f943ca25732d548cf9f0b0393ba8d582fb93e29
bpo-45061: Revert unicode_is_singleton() change (GH-28516)

Don't use a loop over 256 items, only checks for a single singleton.
Objects/unicodeobject.c