1
0
forked from VimPlug/jedi
Commit Graph

1017 Commits

Author SHA1 Message Date
Dave Halter
4cf5d56b64 fix more issues and renamings 2013-12-25 03:24:12 +01:00
Dave Halter
ef764d39d8 evaluator stuff for dynamic 2013-12-25 01:54:51 +01:00
Dave Halter
dd804dc4cb move the usages stuff away from dynamic 2013-12-24 22:54:03 +01:00
Dave Halter
3c28b1907c dynamic belongs also into the evaluate folder 2013-12-24 22:49:57 +01:00
Dave Halter
8326658134 more improvements, so that almost all import tests pass again 2013-12-24 19:55:11 +01:00
Dave Halter
9e52d51a6b use filter_private_variable correctly in api 2013-12-24 19:50:53 +01:00
Dave Halter
39ed0d0f8a most evaluate representation classes probably receive the evaluator instance now 2013-12-24 19:47:52 +01:00
Dave Halter
85a12e8866 RecursionDecorator now also works with Evaluator caches 2013-12-24 19:14:14 +01:00
Dave Halter
118ed2e0a3 RecursionNode should be public 2013-12-24 18:49:15 +01:00
Dave Halter
ab2c6bf45d integrate memoize caches into evaluator 2013-12-24 18:46:51 +01:00
Dave Halter
066056fb2b memoize_default should always take a first argument 2013-12-24 18:06:15 +01:00
Dave Halter
56457a9c8c ImportPath has now also an _evaluator 2013-12-24 18:00:00 +01:00
Dave Halter
d25cc6e1fe it should be _evaluator not evaluator 2013-12-24 17:52:01 +01:00
Dave Halter
eedadbfe95 temporary interfaces subclass. let's see if we need to keep it 2013-12-24 17:27:06 +01:00
Dave Halter
cd8880d8ef move recursion.py to evaluate folder 2013-12-24 17:19:07 +01:00
Dave Halter
cf4b2c4557 the whole import thing seems to be working 2013-12-24 16:28:28 +01:00
Dave Halter
7bf6ff768c first steps to world domination -> removal of the hackish sys.path modifications 2013-12-24 16:23:13 +01:00
Dave Halter
4e68856cc4 move builtin and imports into the evaluate directory 2013-12-24 16:13:26 +01:00
Dave Halter
b9719b8c13 first tests running again with the new structure 2013-12-24 16:05:43 +01:00
Dave Halter
28771b8f15 remove import problems - evaluate calls from a lot of places 2013-12-24 15:50:15 +01:00
Dave Halter
ae17c66148 use evaluator everywhere in representation 2013-12-24 15:38:40 +01:00
Dave Halter
65013d1019 add an execute method to the evaluator 2013-12-24 15:24:37 +01:00
Dave Halter
5f4bcd330c evaluator class introduction 2013-12-24 15:21:09 +01:00
Dave Halter
cbe93298ce move evaluate and evaluate_representation to evaluate folder 2013-12-24 15:14:06 +01:00
Dave Halter
e4013cee77 pep cleanups 2013-12-24 11:47:28 +01:00
David Halter
5b33de991b protect more Execution methods 2013-12-23 22:58:02 +01:00
David Halter
8d2b3a0f7c Executable.decorated should be protected 2013-12-23 22:52:17 +01:00
Colin
478140caab Add a comment 2013-12-21 14:23:41 +01:00
ColinDuquesnoy
3da4ff1f89 Fix for #357/#331 2013-12-20 13:48:49 +01:00
David Halter
3a8692e730 merge authors.txt 2013-12-16 20:40:24 +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
13680945d6 * imported utf8 for python 3.2 2013-12-07 23:00:47 +01:00
Jean-Louis Fuchs
e204c27ecc * imported u for python 3.2 2013-12-07 22:53:01 +01:00
Jean-Louis Fuchs
5c543ac364 * unicode compatibility 2013-12-07 22:50:20 +01:00
Jean-Louis Fuchs
f1c49db6b6 * Added doctests to Token class
* Added __setattr__ for symmetry
* Code cleanup
2013-12-06 02:51:28 +01:00
Jean-Louis Fuchs
ced926b7f0 * cleanup 2013-12-06 00:11:38 +01:00
Jean-Louis Fuchs
099a6c2697 * added token.py 2013-12-05 23:59:48 +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
ColinDuquesnoy
1fccefab5a Documentation: add thread safety warning in API 2013-10-31 16:26:49 +01:00
David Halter
873fc16247 py33 fix for an undefined name 2013-10-11 23:37:31 +04:30
David Halter
ec5ad4ac9c Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-10-11 23:25:19 +04:30
David Halter
fb5b39a7bd remove a strange imports.py code line 2013-10-11 23:21:13 +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
ee181ea098 use encoding instead of source_encoding as a param in the API. I really hope this doesn't break anything, but I doubt it. 2013-10-07 23:52:51 +04:30
David Halter
4ea5f370eb use GlobalNamespace differently 2013-10-07 23:50:27 +04:30
David Halter
ea25b1489a GlobalNamespace doesn't use a lot of attributes - remove them 2013-10-07 23:47:06 +04:30
David Halter
c4896f767c remove unused ModuleNotFound exception raise 2013-10-07 23:41:20 +04:30
Steven Silvester
9cac894273 Disabling gc while loading pickles for a 20% speed boost on larger libs 2013-10-06 06:26:36 -05:00
David Halter
566d1023ee don't load builtin modules, if not necessary in python3.3 2013-09-14 23:15:41 +04:30
David Halter
a2ceaf1987 fixed import problems in python3.3 2013-09-14 23:12:09 +04:30