File tree Expand file tree Collapse file tree 5 files changed +32
-4
lines changed
tests/stubtest_allowlists Expand file tree Collapse file tree 5 files changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -172,3 +172,8 @@ dataclasses.KW_ONLY
172172
173173# We pretend it's a read-only property for forward compatibility with 3.12
174174typing.ParamSpec(Args|Kwargs).__origin__
175+
176+ # https://github.com/python/mypy/issues/15302
177+ typing_extensions\.assert_never
178+ typing_extensions\.assert_type
179+ typing_extensions\.reveal_type
Original file line number Diff line number Diff line change @@ -151,3 +151,11 @@ types.GetSetDescriptorType.__get__
151151types.MemberDescriptorType.__get__
152152types.MethodDescriptorType.__get__
153153types.WrapperDescriptorType.__get__
154+
155+ # https://github.com/python/mypy/issues/15302
156+ typing_extensions\.assert_never
157+ typing_extensions\.assert_type
158+ typing_extensions\.reveal_type
159+
160+ # Doesn't exist at runtime
161+ typing\.Protocol
Original file line number Diff line number Diff line change @@ -169,3 +169,8 @@ types.GetSetDescriptorType.__get__
169169types.MemberDescriptorType.__get__
170170types.MethodDescriptorType.__get__
171171types.WrapperDescriptorType.__get__
172+
173+ # https://github.com/python/mypy/issues/15302
174+ typing_extensions\.assert_never
175+ typing_extensions\.assert_type
176+ typing_extensions\.reveal_type
Original file line number Diff line number Diff line change @@ -165,3 +165,8 @@ types.GetSetDescriptorType.__get__
165165types.MemberDescriptorType.__get__
166166types.MethodDescriptorType.__get__
167167types.WrapperDescriptorType.__get__
168+
169+ # https://github.com/python/mypy/issues/15302
170+ typing_extensions\.assert_never
171+ typing_extensions\.assert_type
172+ typing_extensions\.reveal_type
Original file line number Diff line number Diff line change @@ -408,10 +408,11 @@ re.Pattern.scanner # Undocumented and not useful. #6405
408408tempfile._TemporaryFileWrapper.[\w_]+ # Dynamically specified by __getattr__, and thus don't exist on the class
409409
410410# Details of runtime definition don't need to be in stubs
411- typing_extensions\._SpecialForm
412- typing\._SpecialForm
413- typing_extensions\.TypeVar
414- typing_extensions\.TypeVarTuple
411+ typing_extensions\._SpecialForm.*
412+ typing\._SpecialForm.*
413+ typing_extensions\.TypeVar.*
414+ typing_extensions\.TypeVarTuple.*
415+ typing_extensions\.ParamSpec.*
415416typing\.Generic
416417
417418# Special primitives
@@ -420,8 +421,10 @@ typing_extensions\.LiteralString
420421typing_extensions\.Final
421422typing_extensions\.Coroutine
422423typing_extensions\.Awaitable
424+ typing_extensions\.AsyncIterator
423425typing_extensions\.AsyncIterable
424426typing_extensions\.AsyncGenerator
427+ typing\.ValuesView
425428typing\.Sized
426429typing\.Sequence
427430typing\.Reversible
@@ -432,12 +435,14 @@ typing\.MutableSequence
432435typing\.MutableMapping
433436typing\.Match
434437typing\.MappingView
438+ typing\.Mapping
435439typing\.LiteralString
436440typing\.KeysView
437441typing\.Iterator
438442typing\.Iterable
439443typing\.ItemsView
440444typing\.Hashable
445+ typing\.Generator
441446typing\.Coroutine
442447typing\.Collection
443448typing\.Container
You can’t perform that action at this time.
0 commit comments