]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39829: Fix `__len__()` is called twice in list() constructor (GH-31816)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 18 May 2022 04:16:58 +0000 (21:16 -0700)
committerGitHub <noreply@github.com>
Wed, 18 May 2022 04:16:58 +0000 (13:16 +0900)
commit009aeb6bb689aadf954d8bebaba4c78acd571cbe
tree2a9d51aafdec493ec4fca5b76e20de706d641d7a
parentadd8820df87958ca584c840ffbe436c5577e6533
bpo-39829: Fix `__len__()` is called twice in list() constructor (GH-31816)

(cherry picked from commit 2153daf0a02a598ed5df93f2f224c1ab2a2cca0d)

This patch fixes gh-87740 too.

Co-authored-by: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com>
Misc/ACKS
Misc/NEWS.d/next/Core and Builtins/2022-03-11-09-39-01.bpo-39829.mlW3Su.rst [new file with mode: 0644]
Objects/listobject.c