Dave Halter
bad1f85f8f
Improvements towards arrays / predefined names logic.
2016-11-25 23:31:45 +01:00
Dave Halter
8fd08c86b7
Fix some mostly iterable related stuff.
2016-11-24 21:06:55 +01:00
Dave Halter
ba03f1dcb9
Fix properties.
2016-11-16 21:16:12 +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
31514dfe76
Fix a lot on PEP 484.
2016-11-14 23:29:09 +01:00
Dave Halter
b2bdfe4a28
Array fixes except for conversions.
2016-11-13 16:18:46 +01:00
Dave Halter
21cfe4fc21
Fix the decorator issues.
2016-11-13 04:07:23 +01:00
Dave Halter
853f9fdb08
Somre more fixes towards basic stuff.
2016-11-12 14:23:44 +01:00
Dave Halter
469d6940a7
Fix global statements.
2016-11-12 13:11:54 +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
20380e80b0
Remove type(self).__name__ occurences, because python 2 will always output 'instance'.
2016-11-08 19:18:03 +01:00
Dave Halter
7f95495ca5
More instance improvements.
2016-11-06 23:50:29 +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
3cce530ef4
Taking a stab at simple *args and generators.
2016-10-29 02:11:04 +02:00
Dave Halter
bbb1d1e04c
Better working flow scopes.
2016-10-28 00:36:17 +02:00
Dave Halter
a620c7dbdb
Try to get star arguments working just a little bit.
2016-10-27 18:14:20 +02:00
Dave Halter
e34246eb00
Fix __call__.
2016-10-24 00:39:59 +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
129c669bc0
Fix private variables in filters.
2016-10-15 19:12:46 +02:00
Dave Halter
5f46b48433
Add a filter for global names.
2016-10-11 16:01:26 +02:00
Dave Halter
37ba971787
Trying to start implementing instance filters.
2016-10-06 16:35:53 +02:00
Dave Halter
c2873792eb
Filters for compiled objects and also FunctionExecution.
2016-10-02 15:36:24 +02:00
Dave Halter
e371b670f5
Remove a comprehension hack in the parser that would have made the diff parsers world hell.
2016-09-22 18:26:09 +02:00
Dave Halter
ccc325616a
Temporarily fix an issue with list comprehensions.
2016-09-19 05:28:35 +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
3ad67a4ec7
Jedi raised an error when defined_names was called on empty functions, fixes #697 .
2016-07-10 18:15:06 +02:00
Dave Halter
6b41db96bf
Refactor something to use .type instead of isinstance.
2016-06-30 09:55:21 +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
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