1
0
forked from VimPlug/jedi
Commit Graph

376 Commits

Author SHA1 Message Date
Dave Halter fcda62862c Fix calculate_dotted_path_from_sys_path. It was broken beyond stupid. 2018-12-18 09:30:49 +01:00
Dave Halter 3d4f241129 Cache Script._get_module 2018-12-05 18:18:26 +01:00
Dave Halter 986c69abea Simplify some more call signature things 2018-11-11 22:44:32 +01:00
Dave Halter a73c7092bb Change signature a little bit 2018-11-11 22:36:05 +01:00
Dave Halter 4fbede7445 Rework some call signature issues 2018-11-11 17:01:12 +01:00
Dave Halter d8090cfa0a Start implementing get_signatures 2018-11-07 01:20:39 +01:00
Dave Halter ad83f5419a Merge branch 'master' into typeshed 2018-10-02 19:07:59 +02:00
Dave Halter 23b3327b1d Fixed completions of global vars and tensorflow slowness, fixes #1228, #1116 2018-10-02 15:28:51 +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 75a02a13d9 Use ContextSet closer to they way how Python's set works 2018-09-24 20:30:57 +02:00
Dave Halter e3203ebaa5 Try to change the module cache 2018-09-02 13:06:36 +02:00
Daniel Hahler 08b0b668a6 Script.__repr__: include environment 2018-07-16 13:26:10 +02:00
Daniel Hahler f3c1f4c548 Script: improve ValueError for column
Ref: https://github.com/davidhalter/jedi/issues/1168
2018-07-11 12:55:18 +02:00
Dave Halter cef769ecd8 The encoding parameter should be used again (includes test), fixes #1167 2018-07-09 18:25:28 +02:00
Dave Halter aa4dcc1631 Remove source_encoding from documentation (see #1167) 2018-07-09 18:12:27 +02:00
Dave Halter a59e5a016f Actually use the fast_parser setting again 2018-07-05 21:31:03 +02:00
Dave Halter d8c0d8e5d2 Different _load_module API 2018-07-05 10:15:49 +02:00
Dave Halter 2500112f6c Don't follow builtin imports anymore by default when follow_imports is on (goto) 2018-07-04 00:01:03 +02:00
Dave Halter 80831d79c2 additional_module_paths in usages never actually worked 2018-07-03 22:54:47 +02:00
Dave Halter d857668292 Add include_builtins to usages, fixes #1131. 2018-07-03 22:53:19 +02:00
Dave Halter 9b17be9ecf Cleanup some of the module cache stuff 2018-04-10 19:16:18 +02:00
Dave Halter 60da6034c0 Fix some code_lines issues 2018-03-17 19:41:26 +01:00
Dave Halter 90a226f898 All modules now have a code_lines attribute, see #1062 2018-03-16 10:20:26 +01:00
Dave Halter a85f2d1049 Use the correct class for params when used in names. Fixes #1006 2018-03-07 09:59:31 +01:00
Dave Halter 074d0d6d07 Include __init__.py files in search for the project directory, fixes #773 2018-03-04 21:36:59 +01:00
Dave Halter 98761f6994 Get rid of an unused import 2018-02-16 21:16:43 +01:00
Dave Halter 88f521ad82 Add the name always to the script module 2018-02-16 21:15:53 +01:00
Dave Halter 6a11b7d89e Generalize the use of smart import paths
Now a lot more parts of the current scripts path are used as a sys path.
2018-02-16 12:40:31 +01:00
Dave Halter 2a56323c16 Try to avoid CachedMetaClass for modules 2018-02-13 20:47:43 +01:00
Dave Halter c9fa335145 Fix a goto_assignments issue with a better internal API
Fixes #996.
2018-01-29 08:58:59 +01:00
Dave Halter 68f840de60 Refactor django path support 2018-01-24 19:13:05 +01:00
Dave Halter d986c44b94 Merge with master
The deprecation of Python2.6 and the insertion of environments made it quite difficult to merge.
2018-01-20 19:32:59 +01:00
Dave Halter 877383b110 Add a test to avoid encoding issues. Fixes #1003 2018-01-20 18:28:29 +01:00
Dave Halter 16b463a646 Refactor to avoid having unicode decode errors by default 2018-01-19 19:23:11 +01:00
Dave Halter 2b577fcd5c Clarity 2018-01-17 19:24:08 +01:00
Dave Halter bf0b6741aa At the moment, don't allow projects as an input to script 2018-01-17 09:57:58 +01:00
Dave Halter 9b5e3447d9 Make the new project API fully work in tests 2018-01-17 09:54:11 +01:00
Dave Halter fe813292cf Try to migrate to the new project API 2018-01-16 23:56:35 +01:00
Dave Halter 0ed9e1c249 The given sys_path gets converted to unicode now in py2 2017-12-30 03:40:01 +01:00
Dave Halter da211aa63d Use the Script fixture more generally 2017-12-29 18:40:17 +01:00
Dave Halter 37d282e67b Always use the parser of the environment 2017-12-28 21:19:26 +01:00
Dave Halter 96a67f9a4c Start using the correct parser for each environment 2017-12-19 19:19:35 +01:00
Dave Halter fe3e8a0867 Refactor environments a bit 2017-12-17 18:47:28 +01:00
Dave Halter d0732e58cc api.virtualenv -> api.environment 2017-12-15 18:20:35 +01:00
Dave Halter 0d7f93c019 DefaultEnvironment -> get_default_environment 2017-12-15 18:13:21 +01:00
Dave Halter 3cd5fa3c20 Better support for searching python environments 2017-12-15 12:19:52 +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 73576b2a8b Progress when working with evaluators 2017-11-17 01:21:38 +01:00
Dave Halter 96149d2e6a Make it possible to connect to a subprocess to get the sys path 2017-11-14 18:25:37 +01:00
Dave Halter 46b81dfa6d Subprocess progress
Also add an enviornment variable to Script
2017-11-13 00:40:32 +01:00