1
0
forked from VimPlug/jedi
Commit Graph

39 Commits

Author SHA1 Message Date
Dave Halter 02c3d651bd Some more code quality fixes 2020-04-11 02:23:23 +02:00
Dave Halter 8ff2ea4b38 Make sure to not load unsafe modules anymore if they are not on the sys path, fixes #760 2020-01-31 13:09:28 +01:00
Dave Halter df7080c1da Disable flow analysis for finding usages 2020-01-14 18:37:10 +01:00
Dave Halter 5a54d94aa5 Make sure that infering params is possible from the API 2019-12-27 10:36:13 +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 6e2a76feb9 Fix a goto case with nested pyi files 2019-12-15 17:37:24 +01:00
Dave Halter 3219f14c63 Files bigger than one MB (about 20kLOC) get cropped to avoid getting stuck completely
Fixes #843
2019-12-14 12:39:40 +01:00
Dave Halter 92c59180fd Make sure goto definitions works on with, fixes #1280 2019-12-13 16:57:18 +01:00
Dave Halter 599eded3d1 Remove a few unused imports 2019-09-05 00:54:13 +02:00
Dave Halter 4e68287bba Move eval_node to one place 2019-09-05 00:52:14 +02:00
Dave Halter 008e9860a8 Avoid creating the same object twice 2019-09-05 00:37:51 +02:00
Dave Halter 8cd5932fed Move inference_state.goto to the name and _follow_error_node_imports_if_possible away from inference_state 2019-09-05 00:34:13 +02:00
Dave Halter aea2ddcbd8 ContextualizedName -> TreeNameDefinition 2019-09-05 00:15:38 +02:00
Dave Halter 51475a5b39 Remove an unnecessary piece of code from goto 2019-09-02 09:52:58 +02:00
Dave Halter a0cadd9375 Use Context.create_name instead of weird playing with params everywhere 2019-09-02 09:38:54 +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 ba9c318d22 Move predefine_names to context 2019-08-24 02:39:51 +02:00
Dave Halter faf6752ff8 Move create_context to a context 2019-08-22 22:47:26 +02:00
Dave Halter bf4d42798b Make separate methods for goto_import and infer_import 2019-08-21 23:58:26 +02:00
Dave Halter 85f8f2a764 Fix os path resolving issues 2019-08-21 00:22:34 +02:00
Dave Halter 14fc5ed289 Fix more issues with where contexts are used and where values are used 2019-08-20 09:59:10 +02:00
Dave Halter 39b294e085 Fix some interpreter issues 2019-08-20 09:09:19 +02:00
Dave Halter 217b632213 Write a CompForContext that is still not in good shape but working 2019-08-19 21:17:11 +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 2629ff55f3 Fix some array tests 2019-08-17 15:42:13 +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 fffb39227e InferState -> InferenceState 2019-08-16 11:43:21 +02:00
Dave Halter 600272366f parent_value -> parent_context 2019-08-15 09:36:46 +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