KEMBAR78
Discard deprecated `builtin_type` api by 97littleleaf11 · Pull Request #11343 · python/mypy · GitHub
Skip to content

Conversation

97littleleaf11
Copy link
Collaborator

Description

Related to #6578.

builtin_type could be totally replaced with named_type after #11332. Also renames other builtin_type for consistency since all of them are actually calling named_type.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good.

raise NotImplementedError

@abstractmethod
def builtin_type(self, fully_qualified_name: str) -> Instance:
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like this has been marked as deprecated since 2018, so it seems okay to remove it now.

@JukkaL JukkaL merged commit 5bd2641 into python:master Nov 4, 2021
@97littleleaf11 97littleleaf11 deleted the discard-builtin-type branch November 5, 2021 01:27
hauntsaninja added a commit to hauntsaninja/gino-stubs that referenced this pull request Jan 6, 2022
bryanforbes added a commit to bryanforbes/gino-stubs that referenced this pull request Jan 19, 2022
* Remove use of deprecated builtin_type

This was removed in python/mypy#11343

Co-authored-by: Bryan Forbes <bryan@reigndropsfall.net>
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
Related to python#6578.

builtin_type could be totally replaced with named_type after python#11332. 
Also renames other builtin_type for consistency since all of them are 
actually calling named_type.
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