1
0
forked from VimPlug/jedi
Commit Graph

252 Commits

Author SHA1 Message Date
Dave Halter 78973a9f35 Move execute_evaluated to HelperContextMixin 2019-06-11 17:46:30 +02:00
Dave Halter f672d3329a Make sure that execute is always called with arguments 2019-06-11 09:37:24 +02:00
Dave Halter 4b2518ca9a Remove special objects, they are no longer needed 2019-05-19 14:28:39 +02:00
Dave Halter d9919efb4c is_compiled fix 2019-05-05 21:03:37 +02:00
Dave Halter 0e42df2da7 Refactor Jedi so we use stub modules as much as possible 2019-05-01 00:52:02 +02:00
Dave Halter ad83f5419a Merge branch 'master' into typeshed 2018-10-02 19:07:59 +02:00
Dave Halter c24eb4bd67 Fix tensorflow issues with a few hacks (temporary), fixes #1195 2018-10-02 00:52:11 +02:00
Dave Halter 7d3eba1d8d py__bool__ should be called on CompiledObject in CompiledValue 2018-09-25 08:58:01 +02:00
Dave Halter cc3b08fd1b More fixes, because of CompiledObject modifications 2018-09-17 02:40:34 +02:00
Dave Halter 93d50e0f0c Get more things working 2018-09-17 02:16:16 +02:00
Dave Halter 62df944c47 Fix a few issues with the newly defined CompiledValue 2018-09-17 02:10:27 +02:00
Dave Halter d07d1a78d3 Use CompiledValue for simple values 2018-09-17 01:05:36 +02:00
Dave Halter a5e6f26267 get_filters should always have the default search_global=False 2018-09-06 01:06:09 +02:00
Dave Halter 9cbf20aa48 Start replacing the builtin module 2018-09-06 00:30:08 +02:00
Dave Halter 7a48fdc5f6 Move execute_evaluated to a helper function 2018-08-05 01:28:03 +02:00
Dave Halter 567c8b8097 Fix some fstring issues for now 2018-04-05 01:11:04 +02:00
Dave Halter 6780eba157 Fix sys_path propagation for builtins load_module 2017-12-18 20:16:58 +01:00
Dave Halter 0acb7dcb18 There was a bug in creating modules in a subprocess 2017-12-12 18:08:49 +01:00
Dave Halter b196c6849b Don't try to pickle ellipsis 2017-12-11 20:55:34 +01:00
Dave Halter 3a7bc92863 Use builtins_module instead of BUILTINS 2017-12-10 18:52:51 +01:00
Dave Halter a210be8198 Don't use the create function anymore in compiled
Now the whole creation of builtin objects is abstract and was moved to subprocesses etc.
2017-12-06 15:26:29 +01:00
Dave Halter 13f8f37547 Use even more subprocess accesses 2017-12-06 15:16:27 +01:00
Dave Halter 42fb93dc01 Use the subprocess access to create acceses 2017-12-06 15:06:48 +01:00
Dave Halter 79071790da Move get_special_object 2017-12-05 00:32:39 +01:00
Dave Halter 542644ad19 Move load_module a bit around 2017-12-04 19:18:30 +01:00
Dave Halter 15d9e64281 Start creating access objects in a different way 2017-12-03 19:37:03 +01:00
Dave Halter 3c78aad8b1 Use create_simple_object for a lot of use cases 2017-12-02 01:59:48 +01:00
Dave Halter 543f4f7ff2 Move some stuff from compiled to context 2017-11-29 01:03:01 +01:00
Dave Halter 4f04f7f09c Remove stuff from CompiledObject that didn't belong there and wasn't used 2017-11-29 00:42:16 +01:00
Dave Halter 37c3f0904d create_from_access -> _create_from_access 2017-11-29 00:25:30 +01:00
Dave Halter ba0768bab6 Refactor a bit more and remove the parent_context parameter from create_from_access 2017-11-29 00:24:28 +01:00
Dave Halter 187a523e05 Isolate fake stuff a bit more 2017-11-29 00:18:43 +01:00
Dave Halter 10e9dac758 Simplify an if 2017-11-28 21:39:00 +01:00
Dave Halter 6ec3e50a16 Rewrite bases 2017-11-28 21:20:55 +01:00
Dave Halter cce9a1cf6a Use create only for non access objects 2017-11-28 21:15:55 +01:00
Dave Halter c1f31e0328 Some simplification of _create_from_access 2017-11-28 20:35:49 +01:00
Dave Halter 47114178e9 Fake context python code is now not the base for a lot of things anymore. It just gets executed. 2017-11-28 18:26:12 +01:00
Dave Halter b31d928704 Fix all tests except fake docstring stuff 2017-11-26 22:49:07 +01:00
Dave Halter accf20226d Fix a few more tests 2017-11-26 22:07:13 +01:00
Dave Halter 85ce57a863 Creating objects works now a bit better but is a huge mess. 2017-11-26 18:26:02 +01:00
Dave Halter e71f0062dd Get a lot of tests passing 2017-11-26 17:48:00 +01:00
Dave Halter c266fb301b Make params work with access 2017-11-26 01:48:43 +01:00
Dave Halter 7263d8565b Add an access abstraction (only array tests work, yet)
The access abstraction will be the new way of accessing builtin objects. This way it will be easier to move that to another process
2017-11-25 19:47:49 +01:00
Dave Halter 52bc1be84e The check if we should add type completions is now a bit more obvious 2017-11-24 08:55:16 +01:00
Dave Halter 1a7fc512bc Eliminate CompiledObject.type 2017-11-23 21:50:18 +01:00
Dave Halter 87452639ad Exceptions now also work over the subprocess. 2017-11-17 01:54:05 +01:00
Dave Halter 3a4dc94ee6 Use types instead of special objects (see also #988) 2017-11-12 13:12:04 +01:00
Dave Halter baafea4a90 Remove unused code 2017-11-01 19:14:54 +01:00
Dave Halter 383f749026 Move the initial sys path generation into a new project class. 2017-10-02 20:19:55 +02:00
Dave Halter b6bb251c96 Common instance objects are now directly accessible 2017-09-30 18:19:25 +02:00