Fix __annotations__ being undefined #10969
Define __annotations__ as a dictionary
58ea3ed3
Set type of __annotations__ to a dict mapping strings to types
1784e99c
Add dict to builtins stub
f6834b8e
Add dict stubs to check-basic.test
ec99381c
Add dict stubs to check-python38.test
671ffbbb
Add dict stubs to check-union-or-syntax.test
fb3b0bce
Use dict fixture instead of bool fixture for testNoneHasBool
3a414807
Add dict stub to isinstance fixture
1b2a1b1a
Add dict stub to list fixture
daddad59
Add dict stub to tuple fixture
47c6bb5a
Add dict stub to set fixture
e683549c
Add dict stub to type fixture
5c07a138
Add dict stub to isinstance_python3_10 fixture
c8604ccf
Add dict stub to callable fixture
fb6baffa
Add dict stub to classmethod fixture
fac1882e
Add dict stub to staticmethod fixture
e76637ec
Add dict stub to attr fixture
7622856f
Use single instead of double quotes in definition of __annotations__
28aa161a
Add dict stub to __new__ fixture
31e2ab65
Add dict stub to for fixture
e7eec431
Add dict stub to ops fixtures
c4d07505
Add dict to complex fixture
762991c8
Add dict stub to __builtin__ fixture
40942ee1
Add __iterator__ to dict stub in tuple fixture
3a7fe9f9
Add dict stub to bool fixture
26f34a28
Add dict stub to exception fixture
5a5af459
Add dict stub to float fixture
715cfd46
Add dict stub to testMultipleAssignmentWithListAndIndexing
561b0b5f
Add dict stubs to tests in check-dynamic-typing.test
441ed920
Add __iter__ to dict stub in list fixture
881e479d
Add dict stub to function fixture
9efa3cd6
Add dict stub to __init_subclass__ fixture
f3a2fd4f
Add dict stub to module_all fixture
89b7029d
Add dict stub to module_all_python2
7cbc7261
Add __iter__ to dict stub in isinstance fixture
3a208e79
Add dict stub to slice fixture
c413c4d4
Add dict stub to alias fixture
6f0dfde6
Add dict stub to notimplemented fixture
8066ca94
Add __iter__ to dict stub in float fixture
9eda63e9
Add dict stub to object_hashable fixture
b556b648
Add dict stub to f_string fixture
8e3eb36c
Add dict stub to divmod fixture
38cd5469
Add dict stub to bool_py2 fixture
0e572523
Add dict stub to property_py2 fixture
f82b7b3f
Add dict stubs to tests in check-expressions.test
727602f4
Add dict stubs to tests in check-tuples.test
74f5f56b
Add return type to __iter__ in dict stub in list fixture
c124ddd5
Remove testDictMissingFromStubs
8d1a1395
Add dict stub to complex_tuple fixture
4881a7f0
Add dict stub to fine_grained fixture
f49c4f07
Add dict stub to tuple-simple fixture
7a68cc72
Add dict stubs to tests in typexport-basic.test
89ff0d50
Set value of __annotations__ to AnyType
8c1c9755
Fix merge.test
ce035ad7
Fix testDecoratorTypeAfterReprocessing
9498d8b9
Nickedude
changed the title [WIP] Fix __annotations__ being undefined Fix __annotations__ being undefined 4 years ago
Nickedude
marked this pull request as ready for review 4 years ago
JukkaL
commented
on 2021-09-22
Merge branch 'master' into fix__annotations__is_undefined
8f1380c1
Add unittest revealing type of __annotations__
54afceef
Merge branch 'master' into fix__annotations__is_undefined
b7065503
Merge branch 'master' into fix__annotations__is_undefined
545abd8d
JukkaL
requested changes
on 2021-11-12
Only define __annotations__ if dict is defined
de1f56f8
Revert adding dict to most fixtures
2b3ab616
Bring back testDictMissingFromStubs
fdd7a710
Minor cleanup
ea7cc080
Remove dict stub from check-dynamic-typing.test
b0a59aa7
Remove dict stub from testMultipleAssignmentWithListAndIndexing
5d155378
Remove dict from typeexport-basic.test
9dce5903
Remove dict stub from testTupleMethods
ab182546
Remove dict stub from testDecoratorTypeAfterReprocessing and list.pyi
e75ab3ba
Remove dict stub from tuple.pyi and merge.test
fc48ca58
Merge test cases
b7bf39f2
Merge branch 'master' of https://github.com/python/mypy into HEAD
d37965b0
Fix stubtest
18ac989d
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub