]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-146556: Fix infinite loop in annotationlib.get_annotations() on circular...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Mar 2026 05:30:14 +0000 (07:30 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Mar 2026 05:30:14 +0000 (22:30 -0700)
commit7317e9d761b89aa34a21ba0e7f7a8f1462d5297a
tree7adc9acbcd4202f9d8277224a8fc5cd2a5f38c1d
parent36c22d06f07d569f9b01e28c1bb3ca1f81cdd8a6
[3.14] gh-146556: Fix infinite loop in annotationlib.get_annotations() on circular __wrapped__ (GH-146557) (#146622)

gh-146556: Fix infinite loop in annotationlib.get_annotations() on circular __wrapped__ (GH-146557)
(cherry picked from commit 2cf6a68f028da164bdb9b0ce8ad2cc9bf8f72750)

Co-authored-by: Ramin Farajpour Cami <ramin.blackhat@gmail.com>
Lib/annotationlib.py
Lib/test/test_annotationlib.py
Misc/NEWS.d/next/Library/2026-03-28-12-20-19.gh-issue-146556.Y8Eson.rst [new file with mode: 0644]