Dave Halter
8fd08c86b7
Fix some mostly iterable related stuff.
2016-11-24 21:06:55 +01:00
Dave Halter
7ed1c95737
Fix dynamic param tests.
2016-11-24 00:11:26 +01:00
Dave Halter
06efc8fb8c
Fixing lambdas.
2016-11-20 22:09:45 +01:00
Dave Halter
05581714d9
Fix goto tests.
2016-11-17 23:28:47 +01:00
Dave Halter
af7c13d2e6
List comprehensions now at least don't cause errors anymore.
2016-11-16 09:43:45 +01:00
Dave Halter
b2bdfe4a28
Array fixes except for conversions.
2016-11-13 16:18:46 +01:00
Dave Halter
7848be97ab
Some improvements towards iterators.
2016-11-12 03:53:25 +01:00
Dave Halter
052f6bf9e7
Fix some small import stuff and the whole ordering tests.
2016-11-11 00:45:16 +01:00
Dave Halter
4a8fd73601
Fixing getattr tests.
2016-11-07 20:15:58 +01:00
Dave Halter
40f599c3b6
Progress in creating anonymous instances.
2016-11-07 01:11:55 +01:00
Dave Halter
afac66d82c
Working on __init__.
2016-11-06 18:28:04 +01:00
Daniel Hahler
78573b8fa2
Fix goto_definitions being invoked on a parent class
...
When invoking `goto_definitions` on `RequestFactory` in line 5, it would
jump to `Client` after 27f05de :
```python
class RequestFactory(object):
pass
class Client(RequestFactory):
pass
```
Fixes https://github.com/davidhalter/jedi/issues/761 .
2016-11-04 13:00:23 +01:00
Dave Halter
cd874cb052
Trying to get dyanmic params working.
2016-11-02 11:11:21 +01:00
Dave Halter
f57455f0ad
Deprecate Evaluator.wrap.
2016-11-01 23:38:06 +01:00
Dave Halter
2eb701d2d2
Some class fixes.
2016-11-01 18:28:47 +01:00
Dave Halter
6d8ff9293d
Fixes to decorators and *arg functions.
2016-10-31 09:19:58 +01:00
Dave Halter
a620c7dbdb
Try to get star arguments working just a little bit.
2016-10-27 18:14:20 +02:00
Dave Halter
90af0c36e0
Function -> FunctionContext and fakes use the FunctionContext, too.
2016-10-25 09:59:42 +02:00
Dave Halter
64b6396d19
Fix one array usage.
2016-10-24 09:58:40 +02:00
Dave Halter
5b1d62a11e
Fix the recursion detection.
2016-10-24 01:03:17 +02:00
Dave Halter
e34246eb00
Fix __call__.
2016-10-24 00:39:59 +02:00
Dave Halter
0475bb5fd0
First function execution that is working.
2016-10-23 03:02:57 +02:00
Dave Halter
75b67af000
Starting to improve function calls.
2016-10-22 21:02:15 +02:00
Dave Halter
2e6603cc2e
A lot of small improvements.
2016-10-22 17:40:42 +02:00
Dave Halter
cad9ae8ab1
Start implemeting contexts with specialized TreeNameDefinitions to avoid gambling with the parser.
2016-10-20 19:36:44 +02:00
Dave Halter
37ba971787
Trying to start implementing instance filters.
2016-10-06 16:35:53 +02:00
Dave Halter
0a4e858d88
Fix a recursion issue and add a test.
2016-07-27 19:15:03 +02:00
Dave Halter
2776af3db5
Fix an issue with global stmts. They caused recursionerrors when used wrong. Fixes #610 .
2016-07-18 19:23:08 +02:00
Dave Halter
75c1ebc2fe
Add a max_dynamic_params_depth setting to limit recusive searching for those params. It shouldn't be too crazy.
2016-07-17 13:59:19 +02:00
Dave Halter
218278af8d
Fix an issue with slice indexing.
2016-07-14 18:28:24 +02:00
Dave Halter
3a0008ea80
Simplification.
2016-07-14 08:40:32 +02:00
Dave Halter
cc953ffff0
Goto on trailers wasn't correct. Fixes #571 .
2016-07-13 19:15:28 +02:00
Dave Halter
689284c615
Refactor Evaluator.wrap to use the types in a more consequent way.
2016-06-29 21:06:35 +02:00
Dave Halter
8e67facecc
Refactoring: call_of_name -> call_of_leaf.
2016-06-21 18:42:20 +02:00
Dave Halter
27f05de3b7
Fix a few more issues, mostly with the fast parser.
2016-06-13 18:21:17 +02:00
Dave Halter
a485412af0
Rename goto_definition to goto_definitions.
2016-06-11 23:16:44 +02:00
Dave Halter
c82691a12b
Make goto_definitions a lot simpler.
2016-06-11 23:13:04 +02:00
Dave Halter
82c76fa689
Merge with the linter branch (especially the changes of pep484.
2016-06-07 13:51:25 +02:00
Dave Halter
5edcf47512
Break Interpreter completion even more in favor of a better solution in the future.
2016-06-03 19:31:42 +02:00
Claude
ca08b8270b
combine power-or-atom_expr statements into one statement
2016-02-15 10:20:25 +01:00
Claude
bc0486f723
python 3.5 uses atom_expr node in many places where previous python would use power node
2016-02-09 11:21:26 +01:00
Claude
cc6bd7d161
rework so that it also works withouty pep0484 type hints in jedi_typing.py
2016-01-17 10:41:40 +01:00
Dave Halter
379eb440cd
Fix: the parent setting of deep_ast_copy worked the wrong way.
2016-01-07 18:52:06 +01:00
Dave Halter
43ad4cfeb8
Ellipsis comparisons are working now. Ellipsis was previously ignored.
2016-01-07 10:41:34 +01:00
Dave Halter
c0f7e9f820
Fix an issue with predefined_if_name_dict.
2015-12-27 17:30:40 +01:00
Dave Halter
03eaf8455f
Dict comprehensions are working partially.
2015-12-27 17:20:49 +01:00
Dave Halter
b3f7d0c29a
Get Set comprehensions working.
2015-12-27 15:37:27 +01:00
Dave Halter
936cef97e9
Fix param position lookups. Also forward annotations have the correct resolution path now (starting at the end of the file).
2015-12-22 11:25:32 +01:00
Dave Halter
5791860861
Actual forward reference annotations are working pretty smooth now.
2015-12-20 22:57:41 +01:00
Dave Halter
7b8d4e86ac
The evaluator recursion limitations are now reset in static analysis for each node, otherwise it's incredibly unprecise.
2015-12-13 17:18:19 +01:00