Skip to content

gh-146556: Fix infinite loop in annotationlib.get_annotations() on circular __wrapped__#146557

Merged
JelleZijlstra merged 1 commit intopython:mainfrom
raminfp:gh-146556-fix-get-annotations-wrapped-cycle
Mar 30, 2026
Merged

gh-146556: Fix infinite loop in annotationlib.get_annotations() on circular __wrapped__#146557
JelleZijlstra merged 1 commit intopython:mainfrom
raminfp:gh-146556-fix-get-annotations-wrapped-cycle

Conversation

@raminfp
Copy link
Copy Markdown
Contributor

@raminfp raminfp commented Mar 28, 2026

@JelleZijlstra JelleZijlstra added awaiting review 3.14 bugs and security fixes and removed awaiting merge labels Mar 30, 2026
@JelleZijlstra JelleZijlstra enabled auto-merge (squash) March 30, 2026 03:08
@JelleZijlstra JelleZijlstra merged commit 2cf6a68 into python:main Mar 30, 2026
60 checks passed
@JelleZijlstra JelleZijlstra added the needs backport to 3.14 bugs and security fixes label Mar 30, 2026
@miss-islington-app
Copy link
Copy Markdown

Thanks @raminfp for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@JelleZijlstra JelleZijlstra removed the 3.14 bugs and security fixes label Mar 30, 2026
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 30, 2026
… on circular __wrapped__ (pythonGH-146557)

(cherry picked from commit 2cf6a68)

Co-authored-by: Ramin Farajpour Cami <ramin.blackhat@gmail.com>
@bedevere-app
Copy link
Copy Markdown

bedevere-app bot commented Mar 30, 2026

GH-146622 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Mar 30, 2026
JelleZijlstra pushed a commit that referenced this pull request Mar 30, 2026
…) on circular __wrapped__ (GH-146557) (#146622)

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

Co-authored-by: Ramin Farajpour Cami <ramin.blackhat@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants