Dave Halter
|
d07d1a78d3
|
Use CompiledValue for simple values
|
2018-09-17 01:05:36 +02:00 |
|
Dave Halter
|
1107967f76
|
Fix some small issues
|
2018-09-16 14:31:55 +02:00 |
|
Dave Halter
|
5d9f29743c
|
Get iter() working and a lot of other typeshed reverse engineering of type vars
|
2018-09-16 02:19:29 +02:00 |
|
Dave Halter
|
6807e3b6d5
|
Use py__name__ instead of var_name for type vars
|
2018-09-15 11:43:23 +02:00 |
|
Dave Halter
|
1244eb9998
|
Better debug statements
|
2018-09-13 22:47:12 +02:00 |
|
Dave Halter
|
9ece2844f4
|
Better is_same_class function
|
2018-09-13 22:41:30 +02:00 |
|
Dave Halter
|
a646d930c8
|
Use some solid caching for typing
|
2018-09-12 22:58:35 +02:00 |
|
Dave Halter
|
bd3bd2e53b
|
Fix type completions on classes
|
2018-09-09 15:51:42 +02:00 |
|
Dave Halter
|
eac8cfe63d
|
Fix mro
|
2018-09-08 17:04:07 +02:00 |
|
Dave Halter
|
91a18ec63c
|
Try to re-implement reversed
|
2018-09-07 23:00:32 +02:00 |
|
Dave Halter
|
9e7879d43f
|
Move py__mro__ to a separate function
|
2018-09-07 00:46:54 +02:00 |
|
Dave Halter
|
d0c1df5f2a
|
TreeContextWrapper -> ContextWrapper
|
2018-09-06 19:13:59 +02:00 |
|
Dave Halter
|
a5e6f26267
|
get_filters should always have the default search_global=False
|
2018-09-06 01:06:09 +02:00 |
|
Dave Halter
|
4730c71b16
|
Evaluate constraints instead of Any
|
2018-09-06 00:59:42 +02:00 |
|
Dave Halter
|
fa16c9e59d
|
Fix some name inferance with stubs
|
2018-09-05 10:29:37 +02:00 |
|
Dave Halter
|
ab872b9a34
|
Fix some tests
|
2018-09-05 00:10:25 +02:00 |
|
Dave Halter
|
f432a0b7c4
|
Fix namedtuple and property issues
|
2018-09-04 00:27:40 +02:00 |
|
Dave Halter
|
39f1dfc85e
|
WIP of namedtuple/itemgetter/property
|
2018-09-03 09:50:51 +02:00 |
|
Dave Halter
|
6bf21c4157
|
Better typevar class comparisons
|
2018-09-03 00:58:10 +02:00 |
|
Dave Halter
|
7d6141abb7
|
Fix some small things to make a lot more tests pass
|
2018-09-02 14:03:43 +02:00 |
|
Dave Halter
|
e3203ebaa5
|
Try to change the module cache
|
2018-09-02 13:06:36 +02:00 |
|
Dave Halter
|
8dc2aee4b4
|
Fix py__mro__ for typing classes
|
2018-08-31 09:50:04 +02:00 |
|
Dave Halter
|
aef4aa6859
|
Fix the slice object
|
2018-08-31 01:09:21 +02:00 |
|
Dave Halter
|
2ec503d6eb
|
Change some TypeVar base classes
|
2018-08-30 10:15:43 +02:00 |
|
Dave Halter
|
f5f9fc1955
|
Refactor TypeVar a bit so it's more resistant
|
2018-08-30 09:58:18 +02:00 |
|
Dave Halter
|
10383de959
|
Remove todo about overload, it was already done
|
2018-08-30 01:57:44 +02:00 |
|
Dave Halter
|
c0c6ce2987
|
Fix ClassVars and add tests
|
2018-08-30 01:52:05 +02:00 |
|
Dave Halter
|
5979b93a7a
|
Tests for Type[]
|
2018-08-30 01:38:14 +02:00 |
|
Dave Halter
|
ac6b7ff14e
|
Fix type var completions so that there's at least no error
|
2018-08-30 01:23:28 +02:00 |
|
Dave Halter
|
bf6974dabb
|
Fix an issue with a type var lookups
|
2018-08-30 01:10:51 +02:00 |
|
Dave Halter
|
1fce0b45f4
|
Fix subscriptlist unpacking in Generics
|
2018-08-30 00:52:22 +02:00 |
|
Dave Halter
|
18e6a784e8
|
Clean up some type alias things
|
2018-08-29 23:26:39 +02:00 |
|
Dave Halter
|
511ba5231a
|
Get an own class for type aliases
|
2018-08-29 22:46:28 +02:00 |
|
Dave Halter
|
0edfe86d8b
|
Fix Tuple support
|
2018-08-29 10:18:58 +02:00 |
|
Dave Halter
|
762d56204f
|
Fix some filter issues
|
2018-08-29 09:46:10 +02:00 |
|
Dave Halter
|
a884b6c782
|
Fix forward references for some things
|
2018-08-29 01:12:19 +02:00 |
|
Dave Halter
|
1a5710f140
|
Do a bit better class matching, it's not good yet, but we'll get there.
|
2018-08-28 23:28:58 +02:00 |
|
Dave Halter
|
af9f019d37
|
Type aliases seem to be working, now.
|
2018-08-28 17:40:12 +02:00 |
|
Dave Halter
|
cbf6c617de
|
Get MutableSequence working
|
2018-08-28 01:31:12 +02:00 |
|
Dave Halter
|
921ab6e391
|
Fix two bugs that were raising exceptions
|
2018-08-27 23:37:20 +02:00 |
|
Dave Halter
|
e74d4fe9b7
|
Get a first typing test with Sequence[int] working
This means basically that annotations are working at least in some way and Generic classes as well.
|
2018-08-27 23:24:46 +02:00 |
|
Dave Halter
|
7c8051feab
|
Fix default parameters name resolution
|
2018-08-27 23:10:23 +02:00 |
|
Dave Halter
|
7b896ae5d0
|
Differentiate between functions and methods
This makes some analysis a lot easier when it comes to default arguments for example
|
2018-08-27 20:39:51 +02:00 |
|
Dave Halter
|
b3ffc092cd
|
Obviously cannot return from a generator with an empty list
|
2018-08-27 20:16:57 +02:00 |
|
Dave Halter
|
bd5af5f148
|
More preparations for annotated classes
|
2018-08-27 20:13:35 +02:00 |
|
Dave Halter
|
4a7bded98d
|
Fix the selection of overloaded functions. Now it's at least partially working
|
2018-08-26 23:04:54 +02:00 |
|
Dave Halter
|
5261cdf4a1
|
Now overloaded functions exist, but the matching doesn't work, yet
|
2018-08-26 19:39:55 +02:00 |
|
Dave Halter
|
10bc446255
|
Get Any working ab it better
|
2018-08-26 13:16:25 +02:00 |
|
Dave Halter
|
ac7ce7c481
|
Start implementing overload function
|
2018-08-26 03:37:26 +02:00 |
|
Dave Halter
|
3cfbedcb69
|
Refactor some more typing related things
|
2018-08-25 23:10:04 +02:00 |
|