Skip to content

fix(types): cr_frame may be None - #14802

Merged
sobolevn merged 3 commits into
python:mainfrom
ashm-dev:gh-14780
Sep 30, 2025
Merged

fix(types): cr_frame may be None#14802
sobolevn merged 3 commits into
python:mainfrom
ashm-dev:gh-14780

Conversation

@ashm-dev

Copy link
Copy Markdown
Contributor

Closes#14780

@github-actions

This comment has been minimized.

@ashm-dev

Copy link
Copy Markdown
ContributorAuthor

@srittau@sobolevn
Could you take a look at my PR when you have a chance?

@sobolevnsobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I understand it can only be None for 3.12+

@sobolevn
sobolevn self-requested a review September 28, 2025 10:09

@sobolevnsobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve is a misclick

@github-actions

This comment has been minimized.

Comment threadstdlib/types.pyi Outdated
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittausrittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sobolevn
sobolevn merged commit 284acd4 into python:mainSep 30, 2025
63 checks passed
@ashm-dev
ashm-dev deleted the gh-14780 branch September 30, 2025 10:12
Sign up for freeto 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.

types.CoroutineType.cr_frame should be FrameType | None

4 participants

@ashm-dev@srittau@sobolevn@AlexWaygood