bpo-46480: add typing.assert_type by JelleZijlstra · Pull Request #30843 · python/cpython

@JelleZijlstra

sobolevn

@JelleZijlstra

davidfstr

@JelleZijlstra

@JelleZijlstra

AlexWaygood

@JelleZijlstra

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

AlexWaygood

davidfstr

@JelleZijlstra @davidfstr

Co-authored-by: David Foster <david@dafoster.net>

AlexWaygood

@JelleZijlstra @AlexWaygood

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

JelleZijlstra added a commit to JelleZijlstra/typing that referenced this pull request

Mar 17, 2022

This was referenced

Mar 17, 2022

JelleZijlstra added a commit to python/typeshed that referenced this pull request

Mar 17, 2022

AlexWaygood pushed a commit to python/typeshed that referenced this pull request

Mar 18, 2022

JelleZijlstra added a commit to JelleZijlstra/mypy that referenced this pull request

Apr 14, 2022
See python/cpython#30843.

The implementation mostly follows that of cast(). It relies on
`mypy.sametypes.is_same_type()`.

JelleZijlstra added a commit to python/mypy that referenced this pull request

Apr 15, 2022
See python/cpython#30843.

The implementation mostly follows that of cast(). It relies on
`mypy.sametypes.is_same_type()`.

JukkaL pushed a commit to python/mypy that referenced this pull request

Apr 20, 2022
See python/cpython#30843.

The implementation mostly follows that of cast(). It relies on
`mypy.sametypes.is_same_type()`.