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

(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