3154 Commits

Author SHA1 Message Date
Jean-Louis Fuchs
34e89fa1c5 Merge branch 'dev' into get_code_fidelity
Conflicts:
	jedi/evaluate/docstrings.py
	jedi/parser/representation.py

Resolving merge problems:
* Introducing docstring for compiled.fake
* Partly fixing poor decision in TokenDocstring __init__
2014-01-28 00:37:06 +01:00
Dave Halter
18f225200a test for dynamic params/usages case 2014-01-26 23:13:46 +01:00
Dave Halter
441c001bf9 test for not working call signatures with whitespace issues 2014-01-24 01:34:13 +01:00
Dave Halter
e587b876b6 tests and improvements for __next__ and send generator methods 2014-01-23 20:02:36 +01:00
Dave Halter
6f2c1397b0 autocompletion diggs now pretty deep for generator objects 2014-01-23 14:39:00 +01:00
Dave Halter
c6b315aa2e failing test for fucked up generator parents 2014-01-23 14:26:04 +01:00
Dave Halter
c8fffbd7b6 fix python2.6 issues with completing colorama. this happened because of a missing object parent class 2014-01-22 17:14:28 +01:00
Dave Halter
a6abab4ef0 that test again... 2014-01-17 03:07:04 +01:00
Dave Halter
6063093151 test fixing 2014-01-17 02:53:30 +01:00
Dave Halter
8b34e120e0 for loops are now parsed even if they are really faulty and don't end. 2014-01-17 01:39:23 +01:00
Dave Halter
99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter
a6e49f2680 compatibility improvements -> use reduce from functools 2014-01-14 11:31:01 +01:00
Dave Halter
b70ea1b9f6 fix a version_info testcase - testcase was broken 2014-01-13 22:17:12 +01:00
Dave Halter
7dff41c6b7 added a utils.version_info function to make it easy to check Jedi's version. #350 2014-01-13 21:40:16 +01:00
Dave Halter
cdd356ff9b removed pr.String and pr.Number in favor of the more general pr.Literal 2014-01-13 16:47:01 +01:00
Dave Halter
83b490dd6d PyObject -> CompiledObject, PyName -> CompiledName 2014-01-13 14:09:03 +01:00
Dave Halter
4b319ad817 fix a docstr issue 2014-01-12 19:22:31 +01:00
Dave Halter
dfb494b9c4 finally able to delete the old builtin stuff 2014-01-12 18:22:33 +01:00
Dave Halter
c75cef0882 fix some python 3 compatibility things (which involves some real bugs, but py2 was passing) 2014-01-12 17:02:26 +01:00
Dave Halter
bd239446f5 fix call signatures 2014-01-12 02:42:00 +01:00
Dave Halter
0bff729294 lots of small bugfixes 2014-01-12 02:15:59 +01:00
Dave Halter
1765fadf73 fix problems with self attributes - from fake modules 2014-01-11 18:05:44 +01:00
Dave Halter
32e39ef4ca fixing parents in compiled 2014-01-11 00:26:53 +01:00
Dave Halter
01c03966a7 make first faked compiled modules work 2014-01-10 23:35:58 +01:00
Dave Halter
14c9ed88ca fixed the getattr/__getattr__ stuff 2014-01-10 15:14:55 +01:00
Dave Halter
f868668f0e trying to fix the getattr mess with compiled 2014-01-10 13:36:29 +01:00
Dave Halter
3017e72b86 first executions with compiled seem to be working 2014-01-09 00:53:50 +01:00
Dave Halter
d71fe3061b better environment for compiled executions 2014-01-08 02:20:41 +01:00
Dave Halter
70413768ef add a 'compiled' module, to finally solve #102 and #335 2014-01-07 18:45:02 +01:00
Dave Halter
6deac1dc41 api is now a separate package, to structure the whole thing better. 2014-01-07 15:33:24 +01:00
Dave Halter
090536d03c fix by disabling test - usages are tainted crap anyway :) 2014-01-06 23:41:40 +01:00
Dave Halter
5857b4dbc9 moved modules.py -> parser/user_context.py 2014-01-05 14:15:11 +01:00
Dave Halter
1b40414d90 skip the strange add additional_modules test for now 2014-01-05 01:53:51 +01:00
Dave Halter
4d7349411e probably finished the load_module method migration 2014-01-05 01:37:54 +01:00
Dave Halter
4af92b166a use expression_list instead of commands or call_list 2013-12-27 14:24:14 +01:00
Dave Halter
eb30c3e6cf follow_statement -> eval_statement 2013-12-27 11:55:35 +01:00
Dave Halter
d40030c14e disable a test for py26. 2013-12-27 02:40:52 +01:00
Dave Halter
08fba1e191 fix last remaining issues with tests 2013-12-27 02:28:01 +01:00
Dave Halter
40bd118acb fix sys path tests 2013-12-27 01:30:22 +01:00
Dave Halter
8f564a301f clean up caches clearing 2013-12-26 02:10:30 +01:00
Dave Halter
947e616da0 hand api classes the evaluator 2013-12-26 01:00:37 +01:00
David Halter
8d2b3a0f7c Executable.decorated should be protected 2013-12-23 22:52:17 +01:00
Jean-Louis Fuchs
d687fa4df6 * replaced docstr-string with TokenDocstring object 2013-12-13 01:22:56 +01:00
Jean-Louis Fuchs
53e4962711 * started create paralell get_code 2013-12-12 22:11:15 +01:00
Jean-Louis Fuchs
0e00aa103f * created basic test 2013-12-12 19:13:12 +01:00
Jean-Louis Fuchs
3204a39f6c * made Token readonly like a tuple by using @property
* end_pos calculation didn't respect multiline tokens
* replaced all index access to Token
* wrapped all code that injects token tuples with
  Token.from_tuple()
* repr of Token is still its tuple form!?
* PEP8 where I read or wrote code
2013-12-08 01:32:58 +01:00
Jean-Louis Fuchs
989e12e8a7 * Replaced token tuple with token class
* Fixed PEP8 where I read code
2013-12-05 23:34:20 +01:00
David Halter
099fe4eeb3 test a little bit more with the not in sys path packages 2013-10-11 23:41:38 +04:30
David Halter
f8f2194db3 imports that are not in sys.path - as a second option to those in sys.path 2013-10-11 23:18:29 +04:30
David Halter
b357c099bc test for imports that are not in the sys.path. 2013-10-07 21:43:23 +04:30