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
Dave Halter
c3d40949b1
Make it possible to access properties again
...
This time we catch all exceptions and try to avoid issues for the user.
This is only happening when working with an Interpreter. I don't feel this is
necessary otherwise.
See #1299
2019-08-11 16:24:19 +02:00
Dave Halter
45dada9552
Fix interpeter project path
2019-08-05 00:43:37 +02:00
Dave Halter
fd1e6afd07
A first iteration for file path completions
2019-08-04 13:50:23 +02:00
Dave Halter
d579c0ad57
Even more refactorings
2019-07-05 15:24:39 -07:00
Dave Halter
76c6104415
small name refactoring
2019-07-05 14:35:48 -07:00
Dave Halter
ef9d803ce3
Refactor some call details
2019-07-05 14:30:59 -07:00
Dave Halter
b85c0db72e
Fix a typo
2019-06-19 18:32:09 +02:00
Dave Halter
097b073d20
Undo the tensorflow speedups, because they seem to cause more harm than good, see #1116
2019-06-12 10:00:45 +02:00
Dave Halter
7f3e55df02
Fix conversion for contexts
2019-06-10 18:56:37 +02:00
Dave Halter
c8937ccdbf
Add only_stubs and prefer_stubs as parameters to goto_assignments/goto_definitions
2019-06-10 15:59:12 +02:00
Dave Halter
fcf214b548
Start using file io when opening random modules
2019-05-31 23:42:19 +02:00
Dave Halter
b9e8bff5e2
Start using FileIO in modules
2019-05-31 22:10:49 +02:00
Dave Halter
9a713bc36f
Fix create_context for param default arguments/annotations
2019-05-31 00:21:35 +02:00
Dave Halter
61ccbb0d3e
Make sure to use a python 3 parser for stub files
2019-05-18 18:25:32 +02:00
Dave Halter
063eef3eaf
Call goto_definitions for goto_assigments if we're on a name
2019-05-17 12:37:02 +02:00
Dave Halter
8b1d4a7824
Fix call signatures, use stubs if possible
2019-05-11 12:44:20 +02:00
Dave Halter
079783e3a1
Move trying to resolve stubs to a different place
2019-05-10 22:33:49 +02:00
Dave Halter
a6a71c59f4
Move some contents of gradual.stub_contexts to gradual.conversion
2019-05-10 01:24:58 +02:00
Dave Halter
be6760e427
Introduce get_qualified_names for names, it's easier to implement goto like this
2019-05-10 01:07:21 +02:00
Dave Halter
037a069ddd
Made TreeArguments methods a bit more understandable
2019-05-08 09:30:39 +02:00
Dave Halter
dc15470e0b
ImportName should resolve properly to the module that it was designed to resolve for
2019-05-07 09:43:55 +02:00
Dave Halter
895eae1d54
Move all Name classes to a separate file
2019-05-07 00:30:16 +02:00
Dave Halter
171874d288
Fix all gradual tests
2019-05-05 15:33:56 +02:00
Dave Halter
329270e444
Add is_compiled and a few other things to be more compatible with the new way of handling stubs
2019-05-05 13:23:29 +02:00
Dave Halter
4d3a698a12
Refactor things so goto is working in both directions
2019-05-05 01:16:52 +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
255d0d9fb5
Fix builtin import issues
2019-04-09 21:15:33 +02:00
Dave Halter
8c9ac923c6
Fix import names from sys path generation
2019-04-08 19:35:58 +02:00
Dave Halter
fa17681cf6
Goto definitions goto stubs now have a proper implementation
2019-04-03 00:28:15 +02:00
Dave Halter
2fc53045c7
Goto stubs if on definition
2019-03-31 01:19:35 +01:00
Dave Halter
b6612a83c3
WIP import improvement, getting rid of bad old code
2019-03-21 23:22:19 +01:00
Dave Halter
0cad79ad18
Merge branch 'master' into typeshed
2019-03-08 16:25:45 +01:00
Dave Halter
cd8c9436c5
Merge branch 'master' of github.com:davidhalter/jedi
2019-03-08 16:23:46 +01:00
Dave Halter
1914d10836
Fix relative imports outside of the proper paths
2019-03-08 14:25:54 +01:00
Dave Halter
467c2e5def
Merge branch 'master' into typeshed
...
There were quite a few conflicts, because there were two rewrites of the path
to dotted function.
2019-03-01 10:13:16 +01:00
Dave Halter
1a32663f85
The calculation of dotted paths from normal paths was completely wrong
2019-02-28 09:42:56 +01:00
tamago324
4fecca032d
Fix typo
2019-02-27 20:40:59 +01:00
Dave Halter
025b8bba76
Fix a unicode path issue
2018-12-23 16:29:25 +01:00
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