Dave Halter
ae79919eb4
Skip some param resolving tests in Python 2/3.4
2019-09-05 18:27:37 +02:00
Dave Halter
fbe58306c3
Add a few tests for a previous assertion failure
2019-09-05 10:57:04 +02:00
Dave Halter
a9f1d3d9bb
Reenable a test
2019-09-05 10:09:33 +02:00
Dave Halter
1db3e9a65d
Disable a test in Python2
2019-09-05 10:03:50 +02:00
Dave Halter
06d2119f51
Make sure a self variable is only defined in a function not outside
2019-09-04 00:53:46 +02:00
Dave Halter
7bdd71f9a7
Add some dynamic inference checks for annotations
2019-09-03 00:56:42 +02:00
Dave Halter
286d2c9b1a
Make the order of overloaded functions correct
2019-08-30 01:11:11 +02:00
Dave Halter
04bc9eb62c
Get py__simple_getitem__ working on dicts that have a dict as a param, see #1385
2019-08-29 09:27:43 +02:00
Dave Halter
4572503c9f
Fix usages in context of the new parso parameter include_setitem=True
2019-08-28 22:56:16 +02:00
Dave Halter
066b189bfa
Fix cases where dicts are passed to dicts and generics were not properly applied
2019-08-27 20:41:46 +02:00
Dave Halter
305bfd3a3c
Change a test so it works with generics
2019-08-26 21:53:41 +02:00
Dave Halter
8311328a8e
Get py__simple_getitem__ modifications working for list/dict instances
2019-08-26 21:48:41 +02:00
Dave Halter
24b392b915
Random objects should not be affected by list/dict modifications
2019-08-26 19:28:30 +02:00
Dave Halter
356c25a399
Add a way how dict setitem can be understood
...
Needs the latest parso commits
2019-08-26 19:27:33 +02:00
Matthias Bussonnier
5329f95096
Attempt at a test of completion of filepath after ~.
...
I'm not quite sure how this will behave on windows, and we can't really
create a tempdir (as we don't want to mess with path on home.
One possibility would be to mock/monkeypatch scandir, listdir and
os.path.expanduser or set $HOME in env; but I'm quite unsure we want to
go that route.
2019-08-25 19:55:33 +02:00
Dave Halter
41dc514546
Enable a sys path test that is working now
2019-08-25 13:20:37 +02:00
Dave Halter
e3d2bce7ff
Reenable some tests
2019-08-25 02:37:52 +02:00
Dave Halter
88cf198552
Avoid function executions if they are not necessary
...
This also means that annotations are prefered to docstring types
2019-08-24 12:23:33 +02:00
Dave Halter
6d361e03ac
Avoid import recursions in other ways
2019-08-24 02:06:57 +02:00
Dave Halter
ecc574025c
Merge branch 'ngates/comprehension-parent' of https://github.com/gatesn/jedi into refactoring
2019-08-23 13:52:25 +02:00
Dave Halter
05ce1c8237
Remove a test that tested a removed function
2019-08-23 00:26:15 +02:00
Dave Halter
84f6d95fde
Fix a python 2 dynamic issue
2019-08-21 09:16:48 +02:00
Dave Halter
4cbe2898c0
Fix usage tests
...
With those tests fixed, everything should pass again
2019-08-21 01:01:09 +02:00
Dave Halter
85f8f2a764
Fix os path resolving issues
2019-08-21 00:22:34 +02:00
Dave Halter
39b294e085
Fix some interpreter issues
2019-08-20 09:09:19 +02:00
Dave Halter
0c419a5094
Fix class tests
2019-08-17 23:52:52 +02:00
Dave Halter
680388a7e8
More fixes
2019-08-17 17:01:21 +02:00
Dave Halter
c6d2aa6da2
Some small improvements
2019-08-16 16:44:03 +02:00
Dave Halter
165639c1dd
Start implementing the bulk of the context/value separation
2019-08-16 16:12:12 +02:00
Dave Halter
03920502c4
infer_state -> inference_state
2019-08-16 11:44:30 +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
ad4f546aca
context -> value
2019-08-15 01:23:06 +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
e4d1e5455f
test_evaluate -> test_inference
2019-08-14 23:56:44 +02:00
Dave Halter
4619552589
Evaluation -> type inference
2019-08-13 01:29:50 +02:00
Dave Halter
467839a9ea
execute_evaluated -> execute_with_values
2019-08-13 01:29:50 +02:00
Dave Halter
5d0d09bb7d
staticmethod and a few other cases might not have properly returned its signatures
2019-08-12 09:37:59 +02:00
Dave Halter
1ad4003740
Messed up a Windows test
2019-08-11 20:12:33 +02:00
Dave Halter
1108ad9994
Again a small windows issue fixed.
2019-08-11 20:01:12 +02:00
Dave Halter
f7f9b1e5ec
Need to escape the path backslash for windows slashes
2019-08-11 19:56:57 +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
ab80646b86
Fix an issue with type vars that might have been a problem for other things as well
2019-08-11 01:28:09 +02:00
Dave Halter
3d0ac09fc9
Don't add quotes after paths if they are already there
2019-08-10 18:37:10 +02:00
Dave Halter
463cbb1595
Fix one more os.path.join issue
2019-08-08 09:31:13 +02:00
Dave Halter
03608151e8
Fix more issues with os.path path completion
2019-08-08 01:48:25 +02:00
Dave Halter
822394663c
Make join detection much easier
2019-08-08 01:04:08 +02:00
Dave Halter
52517f78b1
Fix some remaining issues with file path completions
2019-08-07 23:00:27 +02:00