]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-145492: Fix defaultdict __repr__ infinite recursion (GH-145659) (GH-145746)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 12 Mar 2026 09:45:43 +0000 (10:45 +0100)
committerGitHub <noreply@github.com>
Thu, 12 Mar 2026 09:45:43 +0000 (10:45 +0100)
commitcef423cbe20dab5af89f4cbcfc9abda3cd5ba9f5
treeaeac7431abb854c58d767eb8816d49ad64415906
parent881cc06bac7d59a5bd8f4d49717e2e1d05fcc435
[3.13] gh-145492: Fix defaultdict __repr__ infinite recursion (GH-145659) (GH-145746)

(cherry picked from commit 2d35f9bc1cf61b27639ed992dfbf363ab436fd8b)

Includes test fix-up from GH-145788
(cherry picked from commit aa4240ebea1aacc907b1efa58e7f547d90cff3b1)

Co-authored-by: Thomas Kowalski <thom.kowa@gmail.com>
Co-authored-by: Matt Van Horn <mvanhorn@users.noreply.github.com>
Lib/test/test_defaultdict.py
Misc/NEWS.d/next/Library/2026-03-09-00-00-00.gh-issue-145492.457Afc.rst [new file with mode: 0644]
Modules/_collectionsmodule.c