1
0
forked from VimPlug/jedi
Commit Graph

53 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
9bbd73bf86 fix problems with set_vars that were no set_vars 2013-09-06 15:24:14 +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
59f0b523bd move descriptors out of classes into their own file 2013-08-09 11:38:30 +04:30
David Halter
d78b72b046 fixed getattr with array call 2013-07-23 14:30:18 +02:00
David Halter
9348feb8bf operations (+, *, etc) shouldn't be InstanceElements, fixes #246 2013-07-18 12:31:48 +02:00
David Halter
fd4eb5f0a6 add test of #183 2013-05-03 15:16:09 +04:30
David Halter
40898450af support for super() 2012-12-24 12:27:43 +01:00
David Halter
936f7f9fd5 private variables are not accessible anymore, but still completeable - fixes and tests for #56 2012-11-22 23:50:26 +01:00
David Halter
7d38fc6513 again method param access 2012-11-22 15:24:38 +01:00
David Halter
816d01b543 finally fixed the most prominent bug, that is being featured on the front page of github-jedi -> class methods shouldn't return their params as a completion 2012-11-22 13:01:00 +01:00
David Halter
ff84e4670b keyword completion shouldn't occur all the times; thanks to Tobias Halter for his brilliant Kantischueler logic. 2012-09-30 16:46:28 +02:00
David Halter
1a4de1bc68 getattr() / __getattribute__ / __getattr__ implementation 2012-09-13 02:09:50 +02:00
David Halter
51ee262706 ducktyping tests 2012-09-04 15:37:37 +02:00
David Halter
37df118519 InstanceElement cleanup, not all tests pass, though 2012-09-04 08:54:13 +02:00
David Halter
9a5537d3c1 descriptor tests for the used methods 2012-08-30 15:25:51 +02:00
David Halter
33e5850105 dynamic arrays in executions and instances should now work fully, some things got simplified, now it works. 2012-08-27 11:36:44 +02:00
David Halter
528b978ca5 property recursion tests 2012-08-21 12:19:18 +02:00
David Halter
c87899d9b0 flows no longer distort results in certain positions 2012-08-03 13:46:07 +02:00
David Halter
4cd1efc5ba descriptors are now also working with classes. this means classmethod/staticmethod are now working 2012-07-19 18:29:04 +02:00
David Halter
6ef99d4338 parent_stmt property never raises an error now, returns None 2012-07-19 17:15:48 +02:00
David Halter
6bea28938f fixed an ordering bug (without test) 2012-07-19 16:58:10 +02:00
David Halter
942cff225b tried to clean up decorators, but recursions are now a problem 2012-07-19 11:19:08 +02:00
David Halter
d91f13ab9b many new descriptor tests 2012-07-17 23:21:33 +02:00
David Halter
cc2f616c7e class assignments for statements is working now (oh gosh, this commit must be so non-readable for everyone except me...) 2012-07-17 16:35:55 +02:00
David Halter
6e8510b2bd nested classes may have caused problems 2012-07-17 10:31:53 +02:00
David Halter
8b8b0f920d full python 2.5-3.2 compatibility. but 2.5 isn't fully tested, because that's not possible 2012-07-13 15:34:51 +02:00
David Halter
b840648ef3 big change to make param transfer possible. always. this also makes scopes in many places redundant. 2012-07-12 00:37:55 +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
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
3650e0ee64 fixed property not found bug with builtins + cleaning 2012-06-24 18:47:57 +02:00
David Halter
e42a534e38 property / staticmethod / classmethod builtin implementation 2012-06-24 00:54:40 +02:00
David Halter
983de9820f variable assignments for classes prepared 2012-06-23 18:26:36 +02:00
David Halter
4332495a11 basically working descriptors! 2012-06-22 00:05:57 +02:00
David Halter
31a74da900 temporary commit: introduced MultiLevelAttributeError. many prints to remove 2012-06-21 14:26:03 +02:00
David Halter
a9676f77f1 again a decorator fix, which is important for nested decorators 2012-06-12 18:50:39 +02:00
David Halter
e1dbdc1662 class decorators with __call__ are now properly working 2012-06-12 17:02:39 +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
1661196701 do class scoping the right way (no direct access to class stuff in methods) 2012-05-28 02:10:42 +02:00
David Halter
5f0926d045 __call__ method is now working 2012-05-25 17:00:50 +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
744715af5e class inheritance (only instances) 2012-05-03 01:10:07 +02:00
David Halter
80f2a3518d commands after the current position are getting ignored now - with failed import tests 2012-05-01 15:45:01 +02:00
David Halter
453e003153 class/instance tests 2012-05-01 11:31:57 +02:00
David Halter
c0d9cbf0b6 instances are basically working now, tests are not -> satisfy tests! 2012-05-01 04:59:40 +02:00
David Halter
3780e44603 tests added / error catch 2012-04-25 09:48:31 +02:00