Dave Halter
a3b263a599
REPL completion is working again partially. There's some progress at least.
2016-06-29 08:49:20 +02:00
Dave Halter
8e67facecc
Refactoring: call_of_name -> call_of_leaf.
2016-06-21 18:42:20 +02:00
Dave Halter
6f366e2d77
Rename next_sibling and prev_sibling.
2016-06-14 23:22:33 +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
Dave Halter
818730d6ea
Fix descriptions for REPL.
2016-05-15 23:32:16 +02:00
Claude
641fb80773
add support for 'with-assignment' hints
2016-02-15 17:52:21 +01:00
Claude
3a1b2e7104
add support for 'for-assignment' hints
2016-02-15 17:37:03 +01:00
Claude
8b28678d19
support tuple-assignment
2016-02-15 17:04:19 +01:00
Claude
daeee4ba0c
simple typehints in comments
2016-02-15 15:12:07 +01:00
Claude
ca08b8270b
combine power-or-atom_expr statements into one statement
2016-02-15 10:20:25 +01:00
Claude
bf5acb4c7a
once more: python 3.5 uses atom_expr node in many places where previous python would use power node
2016-02-09 19:34:44 +01:00
Dave Halter
ef3a83a74e
Add a link in the finder docstring on how to understand name resolution.
2015-12-26 10:41:26 +01:00
Dave Halter
c4906e0e3f
Rework the parser so we can use arbitrary start nodes of the syntax.
...
This also includes a rework for error recovery in the parser. This is now just possible for file_input parsing, which means for full files.
Includes also a refactoring of the tokenizer. No more do we have to add an additional newline, because it now works correctly (removes certain confusion.
2015-12-20 22:25:41 +01:00
Dave Halter
23f40d8998
Merge branch 'linter' of https://github.com/reinhrst/jedi into pep484
...
Conflicts:
AUTHORS.txt
2015-12-17 23:46:20 +01:00
Claude
7f8b878c8c
if both docstring and annotations are present, use both for function parameters
2015-12-13 23:55:07 +01:00
Claude
fadf4f4419
initial poc pep-0484 type hints
2015-12-13 18:05:57 +01:00
Dave Halter
75ac2b9686
Enable better ways for analysis to analyze loop variables.
2015-12-11 20:25:49 +01:00
Dave Halter
b10a048167
Get rid of Array.values() and Array.__iter__().
2015-12-10 15:56:45 +01:00
Dave Halter
9bd6e6c340
Fix: iterators are working smoothly now. Finally tests are passing again.
2015-12-10 04:37:23 +01:00
Dave Halter
bef5fca516
Refactor compiled.CompiledObject so it always owns an evaluator instance.
2015-12-08 02:19:33 +01:00
Dave Halter
d65684a40b
Fix py__getitem__ on Array.
2015-12-05 02:48:20 +01:00
Dave Halter
db060c70c9
Start creating py__getitem__.
2015-12-04 12:08:29 +01:00
Dave Halter
8daa0b8784
Introduce an additional node parameter for py__iter__ which helps static analysis.
2015-12-03 11:52:54 +01:00
Dave Halter
9a2256f557
Fix issues with py__iter__types.
2015-12-02 07:11:36 +01:00
Dave Halter
37c21726e7
Fix: py__iter__ in dynamic list/set usages with empy params.
2015-12-01 18:35:12 +01:00
Dave Halter
09f7930104
Start implementing py__iter__ for all classes.
2015-11-27 13:07:54 +01:00
Dave Halter
6f4ac70140
Issues with isinstance checks.
2015-11-27 12:22:02 +01:00
Dave Halter
a99368c421
Fix: elifs where not considered for isinstance type inference.
2015-11-25 22:14:23 +01:00
Dave Halter
59e4f567a2
Create a failing test for an issue probably with the parser.
2015-11-25 06:58:34 +01:00
Dave Halter
cf4c2cb198
Fix: Dicts shouldn't be accessible in tuple assignments for now.
2015-11-24 01:11:41 +01:00
Dave Halter
dc2e52fd7d
Create Comprehension.py__iter__.
2015-11-14 20:34:33 +01:00
Dave Halter
4b85d342ea
Trying to fix issues with for loops and += operators.
2015-10-15 03:00:50 +02:00
Dave Halter
844a011193
Replacing the types list with a types set. Some tests are failing, though.
2015-10-13 18:03:36 +02:00
Dave Halter
bf3fa11f6f
Name lookups shouldn't return duplicates.
2015-10-10 20:01:03 +02:00
Dave Halter
22da402a7a
Replace the get_iterator_types function with a different interface, which enables Jedi to detect invalid for loop inputs that are not iterable.
2015-09-22 19:18:36 +02:00
Dave Halter
80492265cf
Remove print statements and reenable the if statement scanning that allows names to get resolved in 'if 0:' clauses. Makes all tests work again.
2015-07-01 14:00:50 +02:00
Dave Halter
6e44f334d8
Correct positioning for if statements.
2015-06-29 12:10:05 +02:00
Dave Halter
db1ed70318
Recursions on if statements when using the advanced flow evaluation shouldn't be possible anymore.
2015-06-29 12:03:31 +02:00
Dave Halter
64fcbbba79
First implementation of doing precise if statement filtering.
2015-06-22 22:16:38 +02:00
Dave Halter
0543586abd
__getattr__ comment.
2015-05-06 19:56:00 +02:00
Dave Halter
ef4b424cda
Replace pr with tree, #566 .
2015-04-28 01:34:31 +02:00
Dave Halter
d038fba9df
er.wrap -> Evaluator.wrap
2015-04-23 13:51:42 +02:00
Dave Halter
e698e6aeeb
Rework some of the analysis statement gathering.
2015-03-05 13:36:41 +01:00
Dave Halter
96add84459
Fix a very complicated issue with comprehensions.
2015-03-03 12:56:48 +01:00
Dave Halter
f5dad437dd
Get rid of the None default for memoize_default. It shouldn't have a default if not given. This also uncovered a bug in for/else loops, that wasn't teste before.
2015-02-27 01:42:14 +01:00
Dave Halter
cdbe26786a
Trying to get ird of the weird param generation in the parser tree.
2015-02-10 15:49:26 +01:00
Dave Halter
8125d5f562
Remove asserts and calculate them dynamically.
2015-02-05 20:16:55 +01:00
Dave Halter
0a3797cf6e
Small refactorings.
2015-02-05 19:47:26 +01:00
Dave Halter
e6b9111749
Python 2.7 compatibility.
2015-01-13 02:12:49 +01:00