Commit Graph

6095 Commits

Author SHA1 Message Date
Dave Halter
cb3cd3022d get_signatures should automatically use the stubs if possible 2018-11-19 09:58:35 +01:00
Dave Halter
d2c0b13a02 Fix some small small issues around the latest commits 2018-11-18 23:53:56 +01:00
Dave Halter
cf6cae728a Some issues with inheritance 2018-11-18 22:29:52 +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
75203c55f8 Make some things clearer around CompiledStubs 2018-11-16 09:49:46 +01:00
Dave Halter
aeeb4880b1 Use the right context (stub) to check if we should use a CompiledStubClass or not 2018-11-14 22:59:49 +01:00
Dave Halter
d5d7679120 Fix a few of the issues with compiled classes and typeshed and docs 2018-11-14 19:19:56 +01:00
Dave Halter
986c69abea Simplify some more call signature things 2018-11-11 22:44:32 +01:00
Dave Halter
a73c7092bb Change signature a little bit 2018-11-11 22:36:05 +01:00
Dave Halter
3ecae30b5c Delete old get_param_names code in API. 2018-11-11 19:45:00 +01:00
Dave Halter
6dc53c3887 Add at least partial support for signatures for builtins 2018-11-11 19:32:29 +01:00
Dave Halter
4fbede7445 Rework some call signature issues 2018-11-11 17:01:12 +01:00
Dave Halter
c29cde6784 Refactor the call signatures to avoid getting multiple call signatures for some overloaded objects 2018-11-07 23:58:25 +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
b847bb1c72 Some minor test changes to get typeshed almost fully working 2018-11-06 09:00:07 +01:00
Dave Halter
4491175db4 Fix an issue with namedtuples when using strings as params 2018-11-06 08:59:30 +01:00
Dave Halter
d0fa228282 Change a test temporarily 2018-11-05 23:56:51 +01:00
Dave Halter
faacfb9578 One test needs to change a bit 2018-11-05 00:28:51 +01:00
Dave Halter
26329de5a5 Underscored objects in stubs are not public and should never be listed 2018-11-03 14:36:46 +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
52aa5b6764 The builtins/typing module are not causing recursions. They are using annotations to give results. 2018-10-31 09:58:20 +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
f2d67f4a5d Make version_info understandable so it can be used in for typeshed 2018-10-30 23:31:57 +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
a93dff2673 Fix star_expr unpacking issues. For now star_expr is not supported 2018-10-26 00:17:28 +02:00
Dave Halter
7856d27724 Clarify something about contexts 2018-10-24 00:45:06 +02:00
Dave Halter
da3ffd8bd0 Typo 2018-10-24 00:41:17 +02:00
Dave Halter
742179ee38 Add __class__, because of how it's represented as a property 2018-10-24 00:39:11 +02:00
Dave Halter
d5d9e51f66 Move py__call__to FunctionMixin 2018-10-24 00:33:07 +02:00
Dave Halter
19096f83db Hide a warning in some cases 2018-10-24 00:11:07 +02:00
Dave Halter
2f3fb54ebb Add another test for __itemsize__ 2018-10-23 23:33:43 +02:00
Dave Halter
e12f9d5a1c Fix a small oversight about type 2018-10-23 23:31:55 +02:00
Dave Halter
a45d86c2a4 The sqlite3 test was not correct and depends if there is a RowFactory present 2018-10-23 09:46:09 +02:00
Dave Halter
be58b627b2 Upgrade typeshed 2018-10-21 00:35:28 +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
dddd302980 Fix issues with listing type vars 2018-10-10 02:05:23 +02:00
Dave Halter
5d44e1991f Create better class filters 2018-10-10 01:45:10 +02:00
Dave Halter
55f0966a9a StubClassContext is now also a ContextWrapper 2018-10-09 22:53:33 +02:00
Dave Halter
7daa26ce81 Move some functions in the base context to make ContextWrapper more usable 2018-10-09 10:00:17 +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
380f0ac404 Fix itemgetter for tuples 2018-10-05 10:51:52 +02:00