Commit Graph

372 Commits

Author SHA1 Message Date
David Halter
5ad12bc8aa fix mro usage and all the type stuff (see also my blog post about why dir is wrong). fixes #314, fixes #86 2013-09-13 22:47:00 +04:30
David Halter
39a5c8501b fixed file in python 2.7 with test, fixes #309 2013-09-06 16:00:12 +04:30
David Halter
9bbd73bf86 fix problems with set_vars that were no set_vars 2013-09-06 15:24:14 +04:30
David Halter
6f16aaaa19 corrected an old comment 2013-09-06 15:12:54 +04:30
David Halter
d216ab331a also add a test for class execution, which still fails due to another bug, that has been (almost) fixed lately, fixes #305 2013-09-06 15:09:12 +04:30
David Halter
fcc6c4d811 goto before assignments should still work, 305 2013-09-06 14:56:35 +04:30
David Halter
95bac43840 before assignment goto test, #305 2013-09-06 14:35:56 +04:30
David Halter
648095ad52 sorted builtin should now be working, fixes #312 2013-09-06 14:08:54 +04:30
David Halter
b18cafa8f8 test for #312, sorted/reversed builtins 2013-09-06 13:27:15 +04:30
David Halter
33711ba966 fix problems with literals, finally 2013-09-06 00:40:08 +04:30
David Halter
9c6dae1df8 temporarily disable old tests to refactor set_vars 2013-09-01 23:54:15 +04:30
David Halter
2ee7ee4473 regression test for #205 2013-08-31 19:59:39 +04:30
David Halter
230bf724a2 empty asserts should not lead to broken parsers 2013-08-17 23:04:01 +04:30
David Halter
a8e259763e fix problem with variables in from clauses, #268 2013-08-17 22:04:55 +04:30
David Halter
2612963f58 fix many position problems 2013-08-17 00:34:20 +04:30
David Halter
e63783f122 test for empty decorators 2013-08-16 11:02:22 +04:30
David Halter
4b0465a2d1 REPL completion deletes the line sometimes, fixes #293 2013-08-16 10:00:52 +04:30
David Halter
fbcecaf1ef deprecate 'source_path' as a Script parameter in favour of 'path' 2013-08-15 19:25:19 +04:30
David Halter
4a6f421b80 test for goto in loops that use e.g. empty arrays as input, #283 2013-08-15 11:33:32 +04:30
David Halter
e0b781987a fix two failed tests due to previous changes 2013-08-14 00:59:33 +04:30
David Halter
51428fa38e first functioning for loop tests, see #283 2013-08-13 22:36:54 +04:30
David Halter
a895561f1a fixed a problem that combined __getattr__ and usages 2013-08-13 15:39:26 +04:30
David Halter
2359ccbeb1 rename completion/renaming.py to usages.py 2013-08-13 15:13:18 +04:30
David Halter
faf7e0c422 fix a problem found by sith with dynamic params (includes tests) 2013-08-12 02:23:44 +04:30
David Halter
0fef34c26e finding out that fake imports arent't allowed in python and os.path is a sys.modules modification, fix tests #213 2013-08-11 17:30:50 +04:30
David Halter
9d1e527b7c merge issue-213-from-import-definition of @tkf into dev 2013-08-11 01:20:45 +04:30
David Halter
6421c95df1 tests for init decorator problem, see #247 2013-08-10 22:53:26 +04:30
David Halter
97edfb13f7 some method decorator tests were wrong (incomplete) 2013-08-10 22:26:24 +04:30
David Halter
085bddd6a1 change Execution usage to always use the decorator function 2013-08-10 21:40:36 +04:30
David Halter
c35da04820 illegal decorators tests 2013-08-09 18:12:51 +04:30
David Halter
22b11e0706 ignore decorators if cannot be found (also get rid of DecoratorNotFound exception), fixes #272 2013-08-09 13:01:21 +04:30
David Halter
a5fa0708ee tests for #272, not existing method decorators in combination with super on __init__ 2013-08-09 12:36:53 +04:30
David Halter
59f0b523bd move descriptors out of classes into their own file 2013-08-09 11:38:30 +04:30
David Halter
7548ec7280 fix problems with class method decorators 2013-08-09 11:32:44 +04:30
David Halter
c222cc5a32 method decorator as class tests 2013-08-09 10:58:24 +04:30
David Halter
a6b1a247c2 method decorator tests 2013-08-08 15:14:10 +04:30
David Halter
7ab00242a8 finally change name of test.base module to helpers.py, fixes #181 2013-08-07 18:35:47 +04:30
David Halter
c6e08221ce fixed more import problems (also with the import usage), definitely fixes davidhalter/jedi-vim#152 2013-08-07 10:24:28 +04:30
David Halter
f72816a702 fix builtin module imports, fixes davidhalter/jedi-vim#152 2013-08-06 18:44:34 +04:30
David Halter
0dc3d5e195 *args/**kwargs tests for #235 (failing tests) 2013-08-06 15:34:12 +04:30
David Halter
22edd6a149 *args/**kwargs tests for #235 (those are working) 2013-08-06 15:21:40 +04:30
David Halter
997e506038 fix a magic method problem 2013-08-02 15:11:01 +02:00
David Halter
cdba4ef3e1 fixed multi level import issue, includes parts of a patch by Lubos Trilety <ltrilety@redhat.com> 2013-07-28 23:15:45 +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
284f2f1671 add __iter__method to InstanceElement, because it's needed for arrays 2013-07-24 17:21:49 +02:00
David Halter
c8648d9ca5 test for unnecessary parentheses inside instances 2013-07-24 16:57:46 +02:00
David Halter
3c96ef8905 test for lambdas in InstanceElements 2013-07-24 16:16:20 +02:00
David Halter
18e561f332 fix problem that strings are no function calls 2013-07-24 16:11:51 +02:00
David Halter
972d4e9a08 fix a problem with dynamic flow information and usages 2013-07-24 01:28:15 +02:00
David Halter
991b138ff3 star imports and usages 2013-07-23 17:21:12 +02:00