1
0
forked from VimPlug/jedi
Commit Graph

68 Commits

Author SHA1 Message Date
Dave Halter
4c7179bc87 Generate type hints, fixes #987 2020-02-02 16:55:10 +01:00
Dave Halter
f42ab8872d compiled_object -> compiled_value 2020-01-25 18:25:19 +01:00
Dave Halter
8cccdde28d CompiledObject -> CompiledValue 2020-01-25 18:13:50 +01:00
Dave Halter
0435e0e85c Remove some dead code 2020-01-25 13:25:23 +01:00
Dave Halter
800ab65701 Fix a bug where parent_context was a value 2020-01-07 11:27:36 +01:00
Dave Halter
fdb5071bec Fix some issues with converting names, see #1466 2020-01-07 10:59:15 +01:00
Dave Halter
9b9cacfbf9 Make sure to use _stub_to_python_value_set for all conversions, see #1466 2020-01-07 01:27:50 +01:00
Dave Halter
47d3aa73dc Disable some features for big annoying libraries like pandas, tensorflow, see #520 2020-01-04 02:39:36 +01:00
Dave Halter
dfc6ea8ce2 Fix a small issue 2020-01-04 01:19:12 +01:00
Dave Halter
0a53ce5136 Separate getting docstrings and getting signatures for names, see discussion #1466 2020-01-01 23:05:06 +01:00
Dave Halter
bb3a81c578 LazyInstanceClassName -> Use NameWrapper 2020-01-01 20:27:07 +01:00
Dave Halter
94a97ff8e8 Fix remaining issues with dict completions 2019-12-30 22:59:01 +01:00
Dave Halter
7e769b87f3 Fix some more dict tests 2019-12-30 00:29:55 +01:00
Dave Halter
cc136a2879 Self manipulations are now more correct, fixes #1392 2019-12-27 19:00:29 +01:00
Dave Halter
3b2dddd1d3 Make sure classmethod param completion works better for the first param 2019-12-25 03:39:37 +01:00
Dave Halter
110d89724e Make sure staticmethod params are (mostly) inferred correctly, fixes #735 2019-12-24 21:32:12 +01:00
Dave Halter
1d17033717 Add support for completion even when __getattr__ is present, fixes #997 2019-12-24 01:44:53 +01:00
Dave Halter
a2cebc4b92 Make sure docstrings can always be inferred for builtins modules, fixes #1432 2019-12-11 00:06:58 +01:00
Dave Halter
e5d1091e80 Make sure execute_function_slots and get_function_slots is defined for all instances 2019-12-03 16:50:34 +01:00
Dave Halter
b8dfbc5d18 A CompiledInstance is not really compiled, it's an instance of a compiled class value 2019-12-01 23:50:46 +01:00
Dave Halter
c38e4fce70 Make sure py__get__ is defined on all values
Also define matches_signature on all signatures, there's definitely cases where that might be called
2019-11-29 15:04:04 +01:00
Dave Halter
9c19f72af3 Make sure a compiled instance is is_compiled 2019-09-05 10:13:03 +02:00
Dave Halter
40b01bfd2c Make arguments private for instance 2019-09-04 09:34:22 +02:00
Dave Halter
79f9d78c83 Make create_instance_context a lot more understandable (and shorter) 2019-09-04 01:06:25 +02:00
Dave Halter
06d2119f51 Make sure a self variable is only defined in a function not outside 2019-09-04 00:53:46 +02:00
Dave Halter
b27f47683c get_first_non_keyword_argument_values is not really used anymore 2019-09-04 00:08:49 +02:00
Dave Halter
d4f3963cd0 Don't use get_executed_param_names_and_issues as an attribute on arguments 2019-09-03 22:07:34 +02:00
Dave Halter
a3659e2750 Remvoe AnonymousArguments 2019-09-03 21:59:50 +02:00
Dave Halter
3a74d65404 Refactor AnonymousInstance/TreeInstance, so that the anonymous instance doesn't have to use arguments 2019-09-03 21:56:48 +02:00
Dave Halter
acda3527cb Separate tree/compiled instances better 2019-09-03 21:36:13 +02:00
Dave Halter
03f6d0edf8 Get rid of create_init_executions 2019-09-03 17:50:03 +02:00
Dave Halter
c79faa6b10 Implement super() properly 2019-09-03 14:53:40 +02:00
Dave Halter
4b10644100 Start using AnonymousMethodExecutionContext instead of the normal function execution context with arguments 2019-09-03 14:44:01 +02:00
Dave Halter
274f8dbb02 Prepare instance for AnonymousMethodExecutionContext 2019-09-03 14:19:56 +02:00
Dave Halter
7ad7d22fb0 Use function/arguments intead of execution 2019-09-02 21:50:56 +02:00
Dave Halter
06890203dd var_args -> arguments 2019-09-02 19:48:17 +02:00
Dave Halter
edb17b8e7c Refactor params and what execution contexts need 2019-09-01 14:14:42 +02:00
Dave Halter
04bc9eb62c Get py__simple_getitem__ working on dicts that have a dict as a param, see #1385 2019-08-29 09:27:43 +02:00
Dave Halter
066b189bfa Fix cases where dicts are passed to dicts and generics were not properly applied 2019-08-27 20:41:46 +02:00
Dave Halter
8311328a8e Get py__simple_getitem__ modifications working for list/dict instances 2019-08-26 21:48:41 +02:00
Dave Halter
eb5586d7e0 Move the dynamic module to dynamic_params 2019-08-25 17:12:04 +02:00
Dave Halter
b7febc1960 Move the dynamic arrays code 2019-08-25 17:08:42 +02:00
Dave Halter
9469533b9f Make InstanceExecutedParam a ParamName 2019-08-24 14:08:11 +02:00
Dave Halter
98d0fc632e Some more renames 2019-08-24 14:02:04 +02:00
Dave Halter
0619d58cd3 search_params -> search_param_names 2019-08-24 13:47:19 +02:00
Dave Halter
b1d2f2462b get_executed_params_and_issues -> get_executed_param_names_and_issues 2019-08-24 13:45:47 +02:00
Dave Halter
e0f26dd7a1 get_function_execution -> as_context 2019-08-24 11:16:20 +02:00
Dave Halter
fcec30dff6 Use py__getattribute__alternatives instead of overwriting py__getattribute__ 2019-08-23 23:04:17 +02:00
Dave Halter
0992dc7ae9 Move __getattr__ and __getattribute__ logic to instance
Now getattr warnings might be wrong
2019-08-23 21:59:01 +02:00
Dave Halter
0cbd1e6cff Avoid passing of contexts in multiple ways for self name filters 2019-08-23 15:45:26 +02:00