1
0
forked from VimPlug/jedi
Commit Graph

46 Commits

Author SHA1 Message Date
Dave Halter ac33d5dea3 If branch inference should not trigger for things we don't know, fixes #1530 2020-03-31 22:46:31 +02:00
Dave Halter fb72e1b448 Merge _remove_statements and infer_expr_stmt, fixes #1504 2020-03-13 00:50:25 +01:00
Dave Halter 4d5373d626 Don't continue searching for values if an annotation is found 2020-03-01 12:25:46 +01:00
Dave Halter 609737322d TypedDict checking should be at a later point 2020-03-01 02:34:38 +01:00
Dave Halter 7ef07b576f Merge branch 'master' into typeddict 2020-02-07 04:03:27 +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 8eb980db73 Create the basics to work with TypedDict in the future 2020-01-26 19:25:23 +01:00
Dave Halter 11b61596e0 Make sure that del_stmt as a name can be handled, see #313 2020-01-23 23:58:52 +01:00
Dave Halter 11a12d6ca8 Refactor execute_operation a bit 2020-01-12 13:01:08 +01:00
Dave Halter 1813105b69 Make sure decorators are also not inferred for big annoying libraries, see #520 2020-01-04 13:26:55 +01:00
Dave Halter a36d609756 Remoeve dead code 2020-01-01 23:23:29 +01:00
Dave Halter 66ad620692 Get rid of a lot of flake8 errors 2020-01-01 02:42:31 +01:00
Dave Halter 4bbaec68e8 Make sure goto_definitions is no longer used in the main code 2019-12-20 18:47:04 +01:00
Dave Halter 5e3e268cc6 Fix RecursionError: global statements in modules should just be ignored, fixes #1457 2019-12-13 00:21:36 +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 378712dbc1 Fix contextualizing of subscriptlist 2019-12-01 11:07:18 +01:00
Dave Halter 4e68287bba Move eval_node to one place 2019-09-05 00:52:14 +02:00
Dave Halter aea2ddcbd8 ContextualizedName -> TreeNameDefinition 2019-09-05 00:15:38 +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 06890203dd var_args -> arguments 2019-09-02 19:48:17 +02:00
Dave Halter 4572503c9f Fix usages in context of the new parso parameter include_setitem=True 2019-08-28 22:56:16 +02:00
Dave Halter 356c25a399 Add a way how dict setitem can be understood
Needs the latest parso commits
2019-08-26 19:27:33 +02:00
Dave Halter d913d7d701 Don't use filter_name for global completions 2019-08-24 11:02:45 +02:00
Dave Halter c1d8454f0c Finally get rid of NameFinder 2019-08-24 03:21:00 +02:00
Dave Halter ba9c318d22 Move predefine_names to context 2019-08-24 02:39:51 +02:00
Dave Halter e148d5120f Move some finder stuff around 2019-08-24 02:28:58 +02:00
Dave Halter b13a9f7d5b Trying to move towards unifying goto and py__getattribute__ 2019-08-24 00:18:48 +02:00
Dave Halter a9d8f389a9 Avoid using get_global_filters if it's not needed 2019-08-23 20:56:00 +02:00
Dave Halter faf6752ff8 Move create_context to a context 2019-08-22 22:47:26 +02:00
Dave Halter 8e60689bcf valueualized_node -> contextualized_node 2019-08-18 00:58:33 +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 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 c6d2aa6da2 Some small improvements 2019-08-16 16:44:03 +02:00
Dave Halter 165639c1dd Start implementing the bulk of the context/value separation 2019-08-16 16:12:12 +02:00
Dave Halter d19233a338 Start working on replacing value partially with context 2019-08-16 13:00:05 +02:00
Dave Halter 03920502c4 infer_state -> inference_state 2019-08-16 11:44:30 +02:00
Dave Halter 600272366f parent_value -> parent_context 2019-08-15 09:36:46 +02:00
Dave Halter 21a18c698e Differentiate in finder between get_value_filters and get_global_filters 2019-08-15 09:29:08 +02:00
Dave Halter 9986d8c9aa Context -> Value 2019-08-15 01:26:11 +02:00
Dave Halter 49f996867d NO_CONTEXTS -> NO_VALUES 2019-08-15 01:24:28 +02:00
Dave Halter ad4f546aca context -> value 2019-08-15 01:23:06 +02:00
Dave Halter 9e23f4d67b Move base_context -> base_value 2019-08-15 00:41:02 +02:00
Dave Halter a5dff65142 Evaluator -> InferState 2019-08-15 00:37:51 +02:00
Dave Halter 8157d119a7 eval_ -> infer_ 2019-08-15 00:20:01 +02:00
Dave Halter 3b4f292464 Move the evaluate package to inference 2019-08-15 00:14:26 +02:00