Skip to content

Migrate from typing.NoReturn to typing.Never #13891

@donBarbos

Description

@donBarbos

I suggest using preferred option (Never) to indicate the bottom type.
Using NoReturn is still popular (and more well known) I think because the types in stdlib use it (one of the reasons), I think it's worth using the option we want to promote

cc @JelleZijlstra (inspired by your recent issue on soft deprecation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    project: policyOrganization of the typeshed project

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions