Commit Graph

54 Commits

Author SHA1 Message Date
David Halter
2ad3121aa3 test for empty statement problem in function call 2013-07-17 15:02:56 +02:00
David Halter
de5de41627 fix last failing function tests 2013-02-11 00:06:31 +01:00
David Halter
6ab9390bce lambdas: fix remaining problems with tests 2012-12-24 01:28:03 +01:00
David Halter
716d2362fd fixed mostly wrong lambda tests (and a few lambda improvements as well) 2012-12-23 15:52:49 +01:00
David Halter
c7fd196850 get_code is now able to process returns again 2012-12-22 20:28:34 +01:00
David Halter
3fbf66f42c 14 lambda tests 2012-12-22 18:59:55 +01:00
David Halter
b571964939 param arguments that are being forgotten by the user are now added (no strange behaviour anymore) 2012-11-30 18:00:48 +01:00
David Halter
99aed7ce91 added magic function names to completion, fixes nothing, but makes jedi more awesome :-D 2012-11-30 16:27:24 +01:00
David Halter
5423dda8d3 multi line funcs with comments don't raise an error anymore - fixes jedi-vim issue 29 2012-11-12 18:07:25 +01:00
David Halter
948b72d27f fix for #51 2012-11-02 17:01:33 +01:00
David Halter
1afdb69314 function annotations are now safely ignored by the evaluation. the parser just stores them in the right objects. 2012-09-02 12:39:11 +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
9b09e11114 tests for an additional variable in *args, **args 2012-07-11 02:28:55 +02:00
David Halter
81c29d58d0 tests for an additional variable in *args, **args 2012-07-11 02:25:43 +02:00
David Halter
a0b5bbe6db removed test cases, which who are not python compatible and just something else 2012-07-11 02:19:10 +02:00
David Halter
e8c1b8c5bd more kwargs tests 2012-07-11 02:09:52 +02:00
David Halter
fd4e0ba775 new args/kwargs tests 2012-07-11 02:02:54 +02:00
David Halter
37f2b8ff56 recursions are now being catched 2012-07-09 12:05:07 +02:00
David Halter
8d26cff54b changed many tests from old completion tests to type tests, which brings more security 2012-07-06 01:29:50 +02:00
David Halter
fdfd475d40 position stuff works now also with function that are located after the just called function 2012-07-06 01:07:17 +02:00
David Halter
28ad77406f default of no arguments at an execution changed to a parsing.Array 2012-07-05 18:22:56 +02:00
David Halter
19a5d788c4 generators can now be indexed, don't know if this is a good thing. however, it fixes some problems with lists 2012-06-27 14:35:12 +02:00
David Halter
56a14c7811 move decorator tests 2012-06-27 10:24:31 +02:00
David Halter
77698599f4 decorator's that are not found, are now just being ignored / introduced new testing file 2012-06-24 20:00:57 +02:00
David Halter
ffb233eac1 self redirection solved 2012-05-25 13:59:17 +02:00
David Halter
bdaf3799e7 __init__ function is working again 2012-05-23 12:19:32 +02:00
David Halter
3c882dea44 functions fully working with default arguments/generators/decorators, but without recursion 2012-05-22 10:34:27 +02:00
David Halter
da7ef3ba4b generators work again (deleted some necessary stuff) 2012-05-22 01:47:40 +02:00
David Halter
547c952ba1 first more or less atempt of functions, that are copied. therefore it is possible to make more complicated function calls (recursion, use function multiple times differently, etc) 2012-05-22 01:15:04 +02:00
David Halter
1ee26a09c6 temporary commit: function behaviour changes 2012-05-21 17:42:46 +02:00
David Halter
361c478541 support for unicode/str and float/int literals (different returns) 2012-05-13 16:24:33 +02:00
David Halter
92df46bd58 tests for get_definitions 2012-05-13 16:14:37 +02:00
David Halter
22d83e8518 resolved parent issue of params -> generators working now! / fixed path problem with tests 2012-05-12 23:32:54 +02:00
David Halter
3840b4c3ae preparations to merge parts of builtin/modules 2012-05-10 18:37:55 +02:00
David Halter
2efe3b0b57 generator basics - but not yet working with next, etc. need the bultins therefore 2012-05-10 16:54:45 +02:00
David Halter
7e3592ee29 pep8 2012-05-10 15:14:28 +02:00
David Halter
49ef3dcace function decorator support (only written with functions) 2012-05-10 11:08:08 +02:00
David Halter
17f059e853 full dictionary suport 2012-05-08 23:39:29 +02:00
David Halter
e2446d675a string literal handling 2012-05-08 22:19:45 +02:00
David Halter
ff9ef84a84 tests again -> complicated working 2012-05-07 23:31:33 +02:00
David Halter
bf3ec37b40 some list tests 2012-05-07 23:19:48 +02:00
David Halter
33ad6d2b6f function calls with key arguments work now 2012-05-07 23:10:00 +02:00
David Halter
62123ed764 exception throw fix 2012-05-07 22:48:40 +02:00
David Halter
57128bf17f *args / **kwargs remodelled 2012-05-07 22:41:41 +02:00
David Halter
40e59c0476 *args tests 2012-05-06 01:03:47 +02:00
David Halter
ec2e0b28cf iter replaces __iter__ calls 2012-05-03 23:00:02 +02:00
David Halter
1340ccb33d added ordering tests 2012-05-02 17:10:31 +02:00
David Halter
e466508b4d tests and error catching for double executions 2012-04-25 10:01:53 +02:00
David Halter
a5531f2a81 functions don't return values anymore, if they are not executed 2012-04-22 17:01:15 +02:00
David Halter
4543b14cd4 further function tests 2012-04-22 14:47:36 +02:00