1
0
forked from VimPlug/jedi
Commit Graph

51 Commits

Author SHA1 Message Date
Dave Halter
cf32e15f65 Remove the old 'is not' logic to detect if not instances and use them to do branch predictions. This is not necessary anymore, since we now support that in a more general way (flow_analysis). 2014-08-12 18:14:03 +02:00
Dave Halter
f1711f8f9c possible direction of branch checks for name resolution. 2014-08-10 13:17:37 +02:00
Dave Halter
d09279e0ad change tests that provided wrong instance information 2014-07-31 15:16:24 +02:00
Danilo Bargen
2a1c108bbf Fixed whitespace problems in completion tests 2014-07-26 17:39:05 +02:00
Dave Halter
8d63e6f6e7 somehow temporary solution to enable completion of __file__ 2014-07-01 15:10:32 +02:00
Dave Halter
e106e4ffc8 fixed for loop in exception issue combined with usage of an exception variable 2014-06-22 23:32:07 +02:00
Dave Halter
401914e91c exception elements are always instances 2014-06-22 16:25:42 +02:00
Dave Halter
b7bf8d515c support for completions on return statements. 2014-06-22 12:05:22 +02:00
Dave Halter
d752907290 temporary solution for completions in asserts 2014-06-22 11:27:28 +02:00
Dave Halter
3ee3a04bcb fix list comprehension issues in nested parentheses. 2014-06-20 17:29:30 +02:00
Dave Halter
2fc404f99d fix issue with list comprehensions in function calls 2014-06-20 16:28:31 +02:00
Dave Halter
c6aea92753 fix issues with tokens in expression list 2014-06-10 11:03:36 +02:00
Dave Halter
081fa79d9b fix issues with generator comprehensions used directly with a send() call or something similar 2014-06-10 00:56:51 +02:00
Dave Halter
9cffbef608 tests for generator to tuple assignment as well as generator comprehensions 2014-06-10 00:40:38 +02:00
Dave Halter
af801ef9b4 make generator comprehensions work 2014-06-10 00:36:36 +02:00
Dave Halter
c48146093e test: list comprehension name resolve should not include its own definitions 2014-06-09 12:53:17 +02:00
Dave Halter
f57b53bbe2 check for 'if foo is not None' checks in the NameFinder. Solves the issues with the subprocess library. 2014-05-20 16:23:46 +02:00
Dave Halter
1f7e4ca637 dict literals are now working (at least the parser) 2014-03-05 18:46:43 +01:00
Dave Halter
7222d70ecb restructure token breaks in statement parser 2014-03-05 14:39:21 +01:00
Dave Halter
7d7a86239c tests for list comprehensions with included dict literals 2014-03-05 14:23:53 +01:00
Dave Halter
a69eee5876 error tokens only exist in the end in a tokenizer 2014-02-21 00:09:49 +01:00
David Halter
997e506038 fix a magic method problem 2013-08-02 15:11:01 +02:00
David Halter
8598fe7327 get the reverse tokenizer positions right even with strange docstring situations 2013-07-26 01:24:44 +02:00
David Halter
b84315b829 tests for import problems 2013-07-19 00:56:56 +02:00
David Halter
7684135b99 finally found a test for unicode problems 2013-07-18 16:45:27 +02:00
David Halter
dd6967de7c fixed a unicode test problem 2013-07-18 14:54:40 +02:00
David Halter
075c60de29 fix a problem related to #246: comments were used as normal strings 2013-07-18 12:18:07 +02:00
David Halter
c3fe5d04dd line_offset to offset in Parser, which is important for exact positioning 2013-02-18 23:17:41 +04:30
David Halter
7d3fd315d3 dots without any other actual relevant code shouldn't just complete, fixes #46 2012-12-19 01:55:32 +01:00
David Halter
a7c806e96f added tests for magic methods 2012-11-19 12:13:07 +01:00
David Halter
6a8b160e1b nested list comprehension with brackets: parser failed; fixes #26 2012-10-16 13:56:10 +02:00
David Halter
7f40a9b86c vim-jedi pydoc: better formatting 2012-09-05 17:54:38 +02:00
David Halter
39ce26eb1e completion works now also in docstrings 2012-08-31 00:27:05 +02:00
David Halter
73f341866c added recursion decorator / fast_parent_copy fix 2012-08-29 22:53:51 +02:00
David Halter
e7dd205c34 nested list comprehensions are working + tests 2012-08-27 23:30:07 +02:00
David Halter
6e59e96f78 working list comprehensions with tests. 2012-08-27 17:52:16 +02:00
David Halter
e4b911b943 range() works now 2012-08-08 16:07:06 +02:00
David Halter
b2abf241ae more tests for next/iter combinations 2012-08-07 00:49:36 +02:00
David Halter
bef8fca57d list() builtin is working better now 2012-08-06 21:26:05 +02:00
David Halter
4739eb6c02 changed the way the tests react, when multiple elements are produced 2012-07-12 16:19:47 +02:00
David Halter
e78ba60a47 changed many tests from old completion tests to type tests, which brings more security 2012-07-06 01:37:04 +02:00
David Halter
c4d74c3521 ternary operators work now, list comprehensions preparation 2012-06-26 00:42:19 +02:00
David Halter
c1fc527d60 commit before processing descriptors 2012-06-12 01:13:06 +02:00
David Halter
9523d3c938 fully functional classes 2012-06-12 00:45:18 +02:00
David Halter
1ea2954c0e tuple for loop tests 2012-04-25 00:09:54 +02:00
David Halter
c78d05fa12 for function works with tuples now / refactoring 2012-04-25 00:01:15 +02:00
David Halter
1e7680ed1d globals 2012-04-24 17:24:51 +02:00
David Halter
7de81ca4a5 tuple support without braces 2012-04-24 15:40:12 +02:00
David Halter
69c720423d tuple support 2012-04-24 13:13:37 +02:00
David Halter
95d1a25d72 added tests 2012-04-24 01:19:30 +02:00