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
4136dcaf08
Make the subprocesses work and return the right sys paths for the different versions
2017-11-15 08:58:13 +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
Dave Halter
421ea222d1
virtualenv progress
2017-11-05 15:02:40 +01:00
Dave Halter
06004ad2f5
Some minor refactorings.
2017-10-09 20:32:28 +02:00
Dave Halter
bedff46735
Simplify usages. It should also work way better, now.
2017-10-08 20:13:24 +02:00
Dave Halter
4ddf7bf56d
Remove the disabling of dynamic flow information
...
We should be able to handle this anyway also in completions. Don't hide issues here.
2017-10-07 10:52:43 +02:00
Dave Halter
51d2ffb078
Use sys path mostly from project and move some sys path stuff around.
2017-10-05 10:06:28 +02: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
0762c9218c
Move arguments to a separate module.
2017-10-01 13:29:28 +02:00
Dave Halter
604ca65a9b
Directly importing FunctionContext.
2017-09-30 18:11:15 +02:00
Dave Halter
16011a91af
Move iterable to context/iterable.
2017-09-30 17:41:21 +02:00
Dave Halter
2c81bd919e
ClassContext is now importable from context.
2017-09-30 16:57:28 +02:00
Dave Halter
3c75f27376
Move the base Context stuff to another module to keep context free for imports.
2017-09-30 16:46:07 +02:00
Dave Halter
8c601a1c65
Also move the class to the context package.
2017-09-29 15:39:20 +02:00
Dave Halter
32917d5565
Remove the function context to a separate module.
2017-09-29 15:28:17 +02:00
Dave Halter
95930d293c
Move instance module to the context package.
2017-09-29 15:14:56 +02:00
Dave Halter
8f177eea07
Move the ModuleContext to a separate module.
2017-09-29 13:24:48 +02:00
Dave Halter
d99d4deebf
Merge branch 'values'
2017-09-28 16:19:38 +02:00
Dave Halter
d9d3aeb5bc
Move more functions to the syntax tree module.
2017-09-28 09:16:43 +02:00
Dave Halter
b997b538a7
Move eval_atom to the syntax tree module.
2017-09-27 16:27:37 +02:00
Dave Halter
a433ee7a7e
Move common to evaluate.utils.
2017-09-20 20:33:01 +02:00
Dave Halter
d6a04b2928
Remove the deprecated attributes from Jedi.
2017-09-20 18:27:29 +02:00
Dave Halter
0c01a3b823
The sys.modules implementation did not work properly with newly created files.
...
Fixes #886 .
2017-09-20 10:06:02 +02:00
Dave Halter
260aef943a
Increase Python's recursion limit
...
Currently there is still the possiblity that Jedi fails with a recursion error,
because the stack is too small. (see #861 ) By increasing it we improve the
situation.
Probably we should just be switching away from this extreme amount of recursion
and move to queueing which would also allow to use other algorithms such as
breadth-first-search.
2017-09-18 10:26:42 +02:00
Dave Halter
f4ba71f6a3
Move the recursion limit settings to the recursion module.
2017-09-17 14:08:39 +02:00
Dave Halter
63edbdcc5b
Better context completions for finally/except/else/elif
...
Fixes #837
2017-09-15 00:48:56 +02:00
Dave Halter
ab84030ad2
full_name was buggy when used on import error names
...
Fixes #873 .
2017-09-14 20:41:25 +02:00
Dave Halter
2210b11778
Fix some issues with import completion
...
Fixes #759
2017-09-14 20:09:13 +02:00
Dave Halter
5ff7e3dbbe
Actually do goto when follow_imports is used
...
Fixes #945 .
2017-09-13 00:28:49 +02:00
Dave Halter
4a544c29ea
Fix a follow_imports (goto) issue.
2017-09-11 23:32:10 +02:00
Dave Halter
619acbd2ca
Goto didn't work well on imports in __init__.py files.
...
Fixes #956 .
2017-09-11 21:48:37 +02:00
Dave Halter
c05f1d3ccc
Completion after as in imports should not be possible.
...
Fixes #841 .
2017-09-10 11:27:57 +02:00
Dave Halter
381fedddb4
Fix get_line_code().
...
Fixes #948 .
2017-09-09 18:28:05 +02:00
Dave Halter
ef6a1ca10f
Fix an issue with choosing the right lines in get_line_code. Refs #948 .
2017-09-09 18:10:53 +02:00
Dave Halter
882f8029ea
Use split_lines and python_bytes_to_unicode directly.
2017-09-03 18:38:00 +02:00
Dave Halter
f69d8f1f29
_get_definition -> get_definition in parso.
2017-09-03 00:50:52 +02:00
Dave Halter
e85816cc85
Simplify getting code for completions.
2017-09-03 00:11:23 +02:00
Dave Halter
fc8326bca1
Finally get rid of the last get_definition.
2017-09-03 00:07:14 +02:00
Dave Halter
9663e343c2
Almost the last switch to _get_definition.
2017-09-02 22:42:01 +02:00
Dave Halter
6419534417
Some more _get_definition fixes
2017-09-02 21:37:59 +02:00
Dave Halter
7e19e49200
Start replacing get_definitions.
2017-09-02 17:48:01 +02:00
Dave Halter
fe9be9fe09
source_to_unicode -> python_bytes_to_unicode.
2017-08-15 20:09:48 +02:00
Dave Halter
f9e31dc941
Refactor splitlines -> split_lines.
2017-08-15 19:55:50 +02:00
Dave Halter
a37201bc1d
Finally fixing the Python 2 issues with static_getattr.
2017-08-13 22:24:50 +02:00
Dave Halter
88cfb2cb91
Remove side effects when accessing jedi from the interpreter.
...
Note that there is http://bugs.python.org/issue31184 .
Fixes #925 .
2017-08-12 22:49:05 +02:00
Dave Halter
2fcd2f8f89
Fix some more stuff because of newer parso changes.
2017-07-14 18:21:52 +02:00
micbou
f5248250d8
Fix keyword docstring
2017-07-14 00:22:27 +02:00