This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JelleZijlstra
Recipients AlexWaygood, JelleZijlstra, gvanrossum, kj, sobolevn
Date 2022-01-22.22:48:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642891701.69.0.92347893734.issue46475@roundup.psfhosted.org>
In-reply-to
Content
At the moment, https://docs.python.org/3.10/library/typing.html#typing.NoReturn simply says:

    Special type indicating that a function never returns.

In practice, type checkers accept NoReturn as a bottom type in other positions too. We should document this behavior.
History
Date User Action Args
2022-01-22 22:48:21JelleZijlstrasetrecipients: + JelleZijlstra, gvanrossum, sobolevn, kj, AlexWaygood
2022-01-22 22:48:21JelleZijlstrasetmessageid: <1642891701.69.0.92347893734.issue46475@roundup.psfhosted.org>
2022-01-22 22:48:21JelleZijlstralinkissue46475 messages
2022-01-22 22:48:21JelleZijlstracreate