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

Remove --new-type-inference flag#19570

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

Conversation

@ilevkivskyi
Copy link
Member

It was on deprecated almost two years ago (it is on by default).

sterliakov reacted with thumbs up emojiA5rocks reacted with hooray emoji
@github-actions
Copy link
Contributor

According tomypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

self.many_errors_threshold=defaults.MANY_ERRORS_THRESHOLD
# Disable newexperimentaltype inference algorithm.
# Disable new type inference algorithm.
self.old_type_inference=False
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we still need this one? There are only a couple of use sites remaining, maybe just axe them here?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Yeah, no, I think we may keep it for a while more (just in case), since it is not a no-op, unlike--new-type-inference.

@hauntsaninjahauntsaninja merged commit5b03024 intopython:masterAug 4, 2025
20 checks passed
@ilevkivskyiilevkivskyi deleted the cleanup-test-infer branchAugust 4, 2025 09:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@hauntsaninjahauntsaninjahauntsaninja approved these changes

+1 more reviewer

@sterliakovsterliakovsterliakov left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ilevkivskyi@hauntsaninja@sterliakov

[8]ページ先頭

©2009-2025 Movatter.jp