[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-19 Thread miss-islington


miss-islington  added the comment:


New changeset 331378dffc334c1f05ab3152c87f46cd9155e169 by Miss Islington (bot) 
in branch '3.9':
[3.9] bpo-46424: [typing] cover `Annotation[arg]` invalid usage in tests 
(GH-30663) (GH-30692)
https://github.com/python/cpython/commit/331378dffc334c1f05ab3152c87f46cd9155e169


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-19 Thread miss-islington


miss-islington  added the comment:


New changeset baf26d07a634b0ea3ff052716bdeaee985b3a3a9 by Miss Islington (bot) 
in branch '3.10':
bpo-46424: [typing] cover `Annotation[arg]` invalid usage in tests (GH-30663)
https://github.com/python/cpython/commit/baf26d07a634b0ea3ff052716bdeaee985b3a3a9


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +28890
pull_request: https://github.com/python/cpython/pull/30692

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-19 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 2.0 -> 3.0
pull_requests: +28889
pull_request: https://github.com/python/cpython/pull/30691

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-18 Thread Nikita Sobolev


Change by Nikita Sobolev :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-18 Thread Ken Jin


Ken Jin  added the comment:


New changeset 32398294fb3fcf4ee74da54722fd0221c4e6cb74 by Nikita Sobolev in 
branch 'main':
bpo-46424: [typing] cover `Annotation[arg]` invalid usage in tests (GH-30663)
https://github.com/python/cpython/commit/32398294fb3fcf4ee74da54722fd0221c4e6cb74


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-18 Thread Nikita Sobolev


Change by Nikita Sobolev :


--
keywords: +patch
pull_requests: +28864
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/30663

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-18 Thread Nikita Sobolev


New submission from Nikita Sobolev :

This condition is not covered: 
https://github.com/python/cpython/blob/bdf2ab1887a2edfb089a3c2a1590cf1e84ea0048/Lib/typing.py#L1674-L1677

I propose to add a test for it, because `Annotated[int]` is invalid.

PR is on its way :)

--
components: Tests
messages: 410862
nosy: kj, sobolevn
priority: normal
severity: normal
status: open
title: `typing.Annotated` one type argument usage is not covered in tests
type: behavior
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com