Dave Halter
|
bb0bf41cab
|
Use ClassMixin the right way in typing
|
2018-12-04 00:36:53 +01:00 |
|
Dave Halter
|
b2c0597a7d
|
Fix names for typing classes
|
2018-12-03 00:56:19 +01:00 |
|
Dave Halter
|
3c3ad7b240
|
Add a generator cache for py__mro__
|
2018-12-03 00:51:45 +01:00 |
|
Dave Halter
|
a7c21eff4b
|
Move py__mro__ to ClassMixin
|
2018-12-01 15:24:21 +01:00 |
|
Dave Halter
|
6b86ad9083
|
Move py__mro__ calls to direct calls, because it's defined on ClassMixin
|
2018-12-01 15:17:22 +01:00 |
|
Dave Halter
|
5e6e4356fc
|
Start using gather_annotation_classes
|
2018-11-27 01:17:12 +01:00 |
|
Dave Halter
|
5bb88ca703
|
Make it possible to gather annotation classes for Union and Optional
|
2018-11-27 01:14:15 +01:00 |
|
Dave Halter
|
644e292fa7
|
Get rid of is_super_class and do some different things in analysis
|
2018-11-24 14:09:14 +01:00 |
|
Dave Halter
|
021d1bc568
|
py__iter__ now takes a contextualized_node argument and raises the analysis errors itself
|
2018-11-23 18:22:38 +01:00 |
|
Dave Halter
|
12a0357f6b
|
Remove class_context from BoundMethod, it's not really needed anymore
|
2018-11-23 00:11:39 +01:00 |
|
Dave Halter
|
55982d699b
|
Use AnnotatedSubClass for Async classes like everywhere else as stubs
|
2018-11-23 00:03:32 +01:00 |
|
Dave Halter
|
1948f23fb3
|
Fix some issues around stub methods
|
2018-11-21 23:47:40 +01:00 |
|
Dave Halter
|
8b039287c8
|
Try to use a CompiledStubClass to wrap functions inside classes
|
2018-11-18 17:43:46 +01:00 |
|
Dave Halter
|
a73c7092bb
|
Change signature a little bit
|
2018-11-11 22:36:05 +01:00 |
|
Dave Halter
|
4fbede7445
|
Rework some call signature issues
|
2018-11-11 17:01:12 +01:00 |
|
Dave Halter
|
f610af36c6
|
Don't use get_function_slot_names in classes anymore
|
2018-11-07 09:49:59 +01:00 |
|
Dave Halter
|
d8090cfa0a
|
Start implementing get_signatures
|
2018-11-07 01:20:39 +01:00 |
|
Dave Halter
|
1eb8658922
|
Fix issues with itemgetter
|
2018-11-03 13:57:15 +01:00 |
|
Dave Halter
|
8fa3f093a1
|
Prefer stub contexts in bound methods
|
2018-11-02 16:32:38 +01:00 |
|
Dave Halter
|
fbc327b960
|
Refactor py__get__ support pretty heavily
|
2018-11-01 19:09:07 +01:00 |
|
Dave Halter
|
4a5cb389b7
|
Revert "Remove a function that is no longer needed"
This reverts commit 3581ce7059.
|
2018-10-30 23:35:02 +01:00 |
|
Dave Halter
|
3581ce7059
|
Remove a function that is no longer needed
|
2018-10-30 22:01:09 +01:00 |
|
Dave Halter
|
0a67b387c6
|
Fix most issues with dynamic arrays
|
2018-10-29 21:05:12 +01:00 |
|
Dave Halter
|
a352fc8595
|
Fix an issue with recursion for arrays
|
2018-10-26 00:26:23 +02:00 |
|
Dave Halter
|
d5d9e51f66
|
Move py__call__to FunctionMixin
|
2018-10-24 00:33:07 +02:00 |
|
Dave Halter
|
e12f9d5a1c
|
Fix a small oversight about type
|
2018-10-23 23:31:55 +02:00 |
|
Dave Halter
|
b008a525cb
|
Fix some more things to get async working
|
2018-10-21 00:35:07 +02:00 |
|
Dave Halter
|
228440c03f
|
Better wrapping of BoundMethod
|
2018-10-18 19:18:20 +02:00 |
|
Dave Halter
|
5d44e1991f
|
Create better class filters
|
2018-10-10 01:45:10 +02:00 |
|
Dave Halter
|
8dca2b81e4
|
Start using ContextWrapper for annotated classes
|
2018-10-09 09:58:19 +02:00 |
|
Dave Halter
|
b14b3d1012
|
Better debugging
|
2018-10-06 16:42:02 +02:00 |
|
Dave Halter
|
43c04a71a8
|
The generics of a class of anonymous instances should never be inferred
|
2018-10-05 19:06:41 +02:00 |
|
Dave Halter
|
9313fb9021
|
Avoid an issue with dict comprehensions
|
2018-10-05 19:03:32 +02:00 |
|
Dave Halter
|
65340e6e24
|
Some more work on the filter merging
|
2018-10-05 01:57:34 +02:00 |
|
Dave Halter
|
f96a14e7f4
|
Start rewriting the StubFilter
|
2018-10-03 23:01:56 +02:00 |
|
Dave Halter
|
fbd72179a1
|
Define generics from a different function
|
2018-09-28 18:16:24 +02:00 |
|
Dave Halter
|
af5d9d804e
|
A better way to define generics
|
2018-09-28 09:25:12 +02:00 |
|
Dave Halter
|
8e8271cf54
|
Refactor dict/set/list/tuple literal generic inferring
|
2018-09-27 00:01:35 +02:00 |
|
Dave Halter
|
bdff4e21a8
|
Fix classmethod issues
|
2018-09-25 00:19:55 +02:00 |
|
Dave Halter
|
a06ca5d035
|
Fix generator return issues
|
2018-09-24 20:59:43 +02:00 |
|
Dave Halter
|
75a02a13d9
|
Use ContextSet closer to they way how Python's set works
|
2018-09-24 20:30:57 +02:00 |
|
Dave Halter
|
8fad33b125
|
Fix some async issues
|
2018-09-24 09:45:10 +02:00 |
|
Dave Halter
|
ef9d0421fa
|
Merge remote-tracking branch 'origin/master' into typeshed
|
2018-09-24 00:16:13 +02:00 |
|
Dave Halter
|
cc493866cd
|
Try to introduce is_instance and is_function
|
2018-09-24 00:15:16 +02:00 |
|
Dave Halter
|
de311b2f2d
|
Replace the Generator class for now
|
2018-09-23 23:22:33 +02:00 |
|
Dave Halter
|
c2b78b175c
|
Use async generator/async functions from typeshed
|
2018-09-23 22:57:08 +02:00 |
|
Claude
|
a2b984ce24
|
also remove crashes with pep 448 unpacking of lists and sets
|
2018-09-23 21:00:11 +02:00 |
|
Claude
|
6bc79b4933
|
Fixed crash (and now recognises correctly) {**d, "b": "b"}["b"]
|
2018-09-23 21:00:11 +02:00 |
|
Dave Halter
|
ff6516d1d7
|
Replace AsyncGenerator
|
2018-09-23 15:41:23 +02:00 |
|
Dave Halter
|
f435f23570
|
Small changes so some type var inferring works better
However this change is a bit controversial, because it involves some strange class matching that we might need to revisit
|
2018-09-23 00:41:32 +02:00 |
|