Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Stubtest: verify stub methods or properties are decorated with@final if they are decorated with@final at runtime#14951

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sobolevn merged 7 commits intopython:masterfromAlexWaygood:stubtest-final-methods
Mar 24, 2023

Conversation

@AlexWaygood
Copy link
Member

This implements most of#14924. The only thing itdoesn't implement is verification for overloaded methods decorated with@final -- I tried working on that, but hit#14950.

…l` if they are decorated with `@final` at runtime
Copy link
Member

@sobolevnsobolevn left a comment

Choose a reason for hiding this comment

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

Thank you for taking this up! 👍

@sobolevn
Copy link
Member

I also thing that overloads can easily be ignored at this stage. Because I don't think many users have final overloads in their runtime source code + separate stubs :)

AlexWaygood reacted with thumbs up emoji

Copy link
Member

@sobolevnsobolevn left a comment

Choose a reason for hiding this comment

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

LGTM!

AlexWaygood reacted with hooray emoji
@sobolevnsobolevn merged commit01a088b intopython:masterMar 24, 2023
@AlexWaygoodAlexWaygood deleted the stubtest-final-methods branchMarch 24, 2023 17:28
@AlexWaygood
Copy link
MemberAuthor

Thanks@sobolevn!

sobolevn reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sobolevnsobolevnsobolevn approved these changes

@hauntsaninjahauntsaninjaAwaiting requested review from hauntsaninja

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@AlexWaygood@sobolevn

[8]ページ先頭

©2009-2025 Movatter.jp