Skip to content

gh-131798: relax GUARD_CALLABLE checks for self type checks#148069

Merged
kumaraditya303 merged 2 commits intopython:mainfrom
kumaraditya303:relax-checks
Apr 4, 2026
Merged

gh-131798: relax GUARD_CALLABLE checks for self type checks#148069
kumaraditya303 merged 2 commits intopython:mainfrom
kumaraditya303:relax-checks

Conversation

@kumaraditya303
Copy link
Copy Markdown
Contributor

@kumaraditya303 kumaraditya303 commented Apr 4, 2026

The checks were overly defensive as it required self to be constant which isn't necessary, we only care about its type so this PR relaxes it.

@kumaraditya303 kumaraditya303 merged commit 7bcc1c4 into python:main Apr 4, 2026
133 of 138 checks passed
@kumaraditya303 kumaraditya303 deleted the relax-checks branch April 4, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants