1
0
forked from VimPlug/jedi
Commit Graph

244 Commits

Author SHA1 Message Date
Dave Halter
68bd9160e2 Fixed list comprehension name lookups. 2014-12-01 00:08:27 +01:00
Dave Halter
c152a1c58b Actually replace tree with representation (in all the imports). 2014-11-23 19:46:52 +01:00
Dave Halter
cc465364d3 Fixes towards better MergedArray and partial functions. 2014-11-20 13:33:05 +01:00
Dave Halter
53c2a1679c Fix types tests. 2014-11-20 11:16:52 +01:00
Dave Halter
164518b993 Get docstrings working. 2014-11-20 02:19:01 +01:00
Dave Halter
df5df1ccf5 FakeArray recursion issues. 2014-11-17 20:41:32 +01:00
Dave Halter
0567a886c4 Fixed an issue with set literals. (The Array type was wrong before.) 2014-11-14 16:54:54 +01:00
Dave Halter
fce715b867 By disabling dynamic arrays completely, arrays are now almost fully passing. 2014-11-14 16:43:53 +01:00
Dave Halter
7049ad58db Small fix for dict lookups. 2014-11-14 16:03:09 +01:00
Dave Halter
01178d30ea Disable dynamic array instances and fix an issue with missing the arguments class. 2014-11-14 15:55:02 +01:00
Dave Halter
278bc9d705 Fix generators. 2014-11-14 02:05:25 +01:00
Dave Halter
f0a3c37fa0 __file__ should be listed as a module attribute. 2014-11-13 00:24:40 +01:00
Dave Halter
408eee50dd Start fixing issues with for loops and += operations. 2014-11-12 14:54:52 +01:00
Dave Halter
13c2279fea Make Generator tuple assignments work. 2014-11-12 13:48:08 +01:00
Dave Halter
65c18f143c Separate some Generator stuff. 2014-11-12 13:42:24 +01:00
Dave Halter
65f182ff0d Separate class for Generator and List Comprehensions. 2014-11-12 13:28:31 +01:00
Dave Halter
f760a7755d Nested list comprehensions seem to be working pretty well. 2014-11-12 12:30:59 +01:00
Dave Halter
54c5591ccb Progress with list comprehensions. There is now a separate class. 2014-11-12 11:42:31 +01:00
Dave Halter
cc661473bc Trying to change used_names, so that they don't contain name definitions from CompFor. 2014-11-11 17:13:27 +01:00
Dave Halter
460d959988 Implicit tuples as a separate class. 2014-11-06 18:24:55 +01:00
Dave Halter
c0768924f6 Managed to get dict inputs working into kwargs. This was wrong in the old version of the parser. 2014-10-27 01:07:15 +01:00
Dave Halter
8df8749f22 Dict key that are not in dict should return all value types. 2014-10-27 00:19:31 +01:00
Dave Halter
e4124fcf9a More dynamic *args 2014-10-25 15:58:09 +02:00
Dave Halter
7532f52cdd Understanding implicit tuple returns (testlist) 2014-10-25 12:50:51 +02:00
Dave Halter
de4db11d25 Reading dicts works now. 2014-10-23 16:21:23 +02:00
Dave Halter
51ffc54471 Temporary params of class solution. 2014-10-23 14:41:01 +02:00
Dave Halter
34f3ea6973 More and probably the last tuple assignment stuff. 2014-10-22 02:29:47 +02:00
Dave Halter
d119902496 Slices 2014-10-21 13:36:56 +02:00
Dave Halter
ab53942e55 Start working with arithmetics. 2014-10-21 12:18:03 +02:00
Dave Halter
2eed6b7b5f Unaccessible array indexes should still produce results. 2014-10-21 12:03:01 +02:00
Dave Halter
8f3b7f9d44 A first array test passing. 2014-10-21 11:58:53 +02:00
Dave Halter
fb2ef5a7a0 Start using arrays. 2014-10-21 11:05:12 +02:00
Dave Halter
03e01631cc Remove NamePart from existance and rename it to Name. 2014-09-26 16:29:53 +02:00
Dave Halter
ce3ec6b534 Finally remove ArrayMethod and use an InstanceElement instead (which it basically is). 2014-09-26 12:08:04 +02:00
Dave Halter
6819deb404 Resolve some **kwargs issues. 2014-09-22 23:06:22 +02:00
Dave Halter
dae1a48d70 Remove a lot of the old Name.names usages in favor of a direct NamePart usage. 2014-09-22 22:34:33 +02:00
Dave Halter
8f3301f281 Passing Function tests now. 2014-09-22 14:06:38 +02:00
Dave Halter
d4503c77a5 get_parent_until should always have the same signature.
Fix it for ArrayMethod.get_parent_until.
2014-09-19 16:17:05 +02:00
Dave Halter
1fb9b4bc6b Completion now always takes a NamePart as input. 2014-09-10 18:59:08 +02:00
Dave Halter
a93a389d5c Fix all the normal issues with the NameFinder change. Now goto... 2014-09-10 16:30:22 +02:00
Dave Halter
1199defabb Start to use NameParts only in Definition contexts. 2014-09-09 14:13:10 +02:00
Dave Halter
f57d9ef675 Rename Name.get_parent_stmt to Name.get_definition, because it's not always a statement. Also start using it in the NameFinder. 2014-09-06 10:43:26 +02:00
Dave Halter
d6dd7cd55e Move process_precedence_element from the Evaluator to the precedence module. 2014-08-20 15:59:37 +02:00
Dave Halter
0e66aef511 Use IterableWrapper in the iterable module to be able to add methods like is_class quickly. 2014-08-20 14:01:41 +02:00
Dave Halter
33e5a3280a Remove IsScope in favor of an is_scope function.
This function was partially implemented anway. Now we've also added a function called 'get_parent_scope', to make it easy to get a scope of a Call, Statement, whatever.
2014-08-12 01:19:19 +02:00
Dave Halter
f1711f8f9c possible direction of branch checks for name resolution. 2014-08-10 13:17:37 +02:00
Dave Halter
0fbd5efefd wrap instance element creation so that it only contains functions and statements, not CompiledObject or Instance. 2014-07-31 13:16:11 +02:00
Dave Halter
cf63d20988 get rid of the evaluate_generator param 2014-07-30 16:36:27 +02:00
Dave Halter
e58dc0a3d9 simplify evaluator.execute, because now everything is using py__call__ 2014-07-30 15:40:10 +02:00
Dave Halter
373ff2c45a fix most issues related to the py__call__ stuff and generalize it. 2014-07-30 15:23:41 +02:00