1
0
forked from VimPlug/jedi
Commit Graph

54 Commits

Author SHA1 Message Date
Laurent Soest fe50352f9c annotations should be preferred even when it is a generator 2021-08-28 21:04:57 +02:00
Dave Halter 9d1587a41d Don't need to inherit from object anymore 2020-07-26 00:11:57 +02:00
Dave Halter 9957565b37 Try to use yield from instead of yield, if possible 2020-07-19 13:34:58 +02:00
Dave Halter 1ece7698c2 Merge branch 'master' into python3 2020-07-17 16:07:54 +02:00
Dave Halter e4987b3e7a Fix issues with generators, fixes #1624 2020-07-17 15:57:32 +02:00
Dave Halter 24a1bbb3ca Even more super deletions 2020-07-02 12:29:10 +02:00
Dave Halter 5ab351dc8f Remove unicode literals from code base 2020-07-02 10:43:14 +02:00
Dave Halter 1dc83115be Remove use_metaclass 2020-07-02 00:58:30 +02:00
Dave Halter 23db298e2f Removed various 3.3/3.4/3.5 references 2020-07-02 00:34:27 +02:00
Dave Halter 876109267a Remove is_function_execution, it's not used 2020-02-23 00:16:46 +01:00
Dave Halter e3c4b5b77e Make sure param hints are working for functions 2020-02-02 18:42:01 +01:00
Dave Halter e930f47861 Make generators return more correct values with while loops, fixes #683 2020-01-29 10:13:46 +01:00
Dave Halter d630ed55f3 Avoid aborting search for yields when they are still reachable, see #683 2020-01-28 09:35:58 +01:00
Dave Halter 0435e0e85c Remove some dead code 2020-01-25 13:25:23 +01:00
Dave Halter fdb5071bec Fix some issues with converting names, see #1466 2020-01-07 10:59:15 +01:00
Dave Halter 148fffae28 Make yield pytest fixtures work 2019-12-27 01:50:17 +01:00
Dave Halter 1087b62e95 Refactor references: Matching more names that might be related
Fixes davidhalter/jedi-vim#900.
See also davidhalter/jedi-vim#552.
2019-12-23 00:41:22 +01:00
Dave Halter 8213d183fb Start using generic managers, for #1413 2019-12-08 21:56:30 +01:00
Dave Halter 48ac0c9421 Move more stuff from gradual/typing.py to gradual/base.py 2019-12-07 15:27:14 +01:00
Dave Halter dd400f115a Move some annotation inferring code to proper functions 2019-09-04 01:29:41 +02:00
Dave Halter 47d6ae3da1 SimpleParamName -> AnonymousParamName 2019-09-04 01:20:44 +02:00
Dave Halter 274f8dbb02 Prepare instance for AnonymousMethodExecutionContext 2019-09-03 14:19:56 +02:00
Dave Halter efa51a1d70 Use the function execution filters with proper inheritance 2019-09-03 13:55:09 +02:00
Dave Halter 0a420339e8 Deal with inheritance properly when dealing with function executions 2019-09-03 13:29:25 +02:00
Dave Halter fe5523268e Separate FunctionExecution and AnonymousFunctionExecution 2019-09-03 13:11:50 +02:00
Dave Halter 35efdd84d2 Add get_param_names to the function execution, which is needed to do some filtering 2019-09-03 09:22:31 +02:00
Dave Halter 1495a0ec4c Move the normal anonymous arguments case over to names 2019-09-03 01:28:54 +02:00
Dave Halter fe8a605d4a Remove get_executed_param_names_and_issues from FunctionExecution 2019-09-03 00:30:22 +02:00
Dave Halter 7ad7d22fb0 Use function/arguments intead of execution 2019-09-02 21:50:56 +02:00
Dave Halter bdb01c7546 Make FunctionExecutionContext.arguments private 2019-09-02 21:24:21 +02:00
Dave Halter 06890203dd var_args -> arguments 2019-09-02 19:48:17 +02:00
Dave Halter b4dc95553f Use SimpleParamName everywhere it's needed 2019-09-02 09:29:43 +02:00
Dave Halter edb17b8e7c Refactor params and what execution contexts need 2019-09-01 14:14:42 +02:00
Dave Halter 286d2c9b1a Make the order of overloaded functions correct 2019-08-30 01:11:11 +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 98d0fc632e Some more renames 2019-08-24 14:02:04 +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 ba9c318d22 Move predefine_names to context 2019-08-24 02:39:51 +02:00
Dave Halter c393a406ee Refactoring of the contexts to properly use inheritance 2019-08-23 15:28:55 +02:00
Dave Halter ee6331747f Use a class_context instead of a class_value for MethodValue 2019-08-22 22:13:02 +02:00
Dave Halter f87f8c028b Fix context issues when working with instances 2019-08-22 17:11:54 +02:00
Dave Halter b19ba12566 Fix some more context issues 2019-08-19 19:33:12 +02:00
Dave Halter 6fb49eaadf as_context caching 2019-08-18 17:52:15 +02:00
Dave Halter 4415de010d ValueualizedName -> ContextualizedName
Basically a change back to an older version
2019-08-18 00:57:29 +02:00
Dave Halter 0c419a5094 Fix class tests 2019-08-17 23:52:52 +02:00
Dave Halter 680388a7e8 More fixes 2019-08-17 17:01:21 +02:00
Dave Halter 2629ff55f3 Fix some array tests 2019-08-17 15:42:13 +02:00
Dave Halter 03920502c4 infer_state -> inference_state 2019-08-16 11:44:30 +02:00
Dave Halter 9ee6285414 Remove infer_state from filters 2019-08-16 09:41:23 +02:00