Commit Graph
100 Commits
Author SHA1 Message Date
Dave Halter 8561217333 evaluator executions instead of direct instances 2013-12-29 19:40:45 +01:00
Dave Halter 0f6b5b222b add a stdlib module to make it easy to write functions in pure python (instead of evaluating them) 2013-12-29 03:05:05 +01:00
Dave Halter 4215e7934e basic refactoring, of function executions super() is not working yet 2013-12-29 02:05:37 +01:00
Dave Halter 870f5da354 use execute method instead of Execution creators 2013-12-28 21:21:15 +01:00
Dave Halter 37e157d441 improve follow_path params 2013-12-28 20:56:09 +01:00
Dave Halter 75a1b6f8cb follow_paths -> follow_path, follow_path -> _follow_path 2013-12-28 15:00:04 +01:00
Dave Halter 46dd0a9abe follow_call_path -> eval_call_path 2013-12-27 14:40:23 +01:00
Dave Halter 91f377eeb6 pep8 stylings 2013-12-27 14:35:30 +01:00
Dave Halter 7347c46502 expression_list instead of commands in more places 2013-12-27 14:32:15 +01:00
Dave Halter 4af92b166a use expression_list instead of commands or call_list 2013-12-27 14:24:14 +01:00
Dave Halter 76eec7bfc5 follow_call -> eval_call 2013-12-27 12:02:49 +01:00
Dave Halter eb30c3e6cf follow_statement -> eval_statement 2013-12-27 11:55:35 +01:00
Dave Halter b7958b32a3 Merge pull request #360 from davidhalter/evaluator
Refactoring: Use an Evaluator class.
2013-12-26 17:49:00 -08: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 4ec64a9763 move mixin to evaluate directory 2013-12-27 01:36:05 +01:00
Dave Halter c290afbb1a increase pickling version and change mixin path for builtins 2013-12-27 01:34:23 +01:00
Dave Halter 40bd118acb fix sys path tests 2013-12-27 01:30:22 +01:00
Dave Halter c862afb967 fix a few nasty bugs 2013-12-27 01:27:07 +01:00
Dave Halter ff983f70bc fix execution recursion decorators 2013-12-26 18:01:54 +01:00
Dave Halter dd7d7ceb7e make some parser caches private 2013-12-26 12:20:29 +01:00
Dave Halter 84c2be9f58 remove old way of using a separate decorator for search param memoization, use the default one 2013-12-26 02:32:32 +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
Dave Halter 4aa8be7829 include jedi.evaluate as a package in setup.py 2013-12-25 19:08:28 +01:00
Dave Halter 05f7e6f4b5 import changes so that all local imports are 'from jedi.* import *' 2013-12-25 18:48:12 +01:00
Dave Halter 002b7001ca pass more than half of the integration tests, more bugfixes 2013-12-25 18:38:23 +01:00
Dave Halter f039bc3fc9 fix docstrings with evaluator stuff 2013-12-25 18:31:42 +01:00
Dave Halter d86f180d2e bug fixes for dynamic/iterator stuff 2013-12-25 18:28:56 +01:00
Dave Halter 5d486f0e3c fix a lot of the dynamic issues 2013-12-25 18:16:40 +01:00
Dave Halter b768e214eb fix cache memoization 2013-12-25 15:19:12 +01:00
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
Dave Halter a885d85fda Merge pull request #358 from ColinDuquesnoy/dev
Fix for pyqt errors with python 2.7
2013-12-22 15:19:36 -08:00
David Halter 3a8692e730 merge authors.txt 2013-12-16 20:40:24 +01:00
David Halter e34874543e Merge pull request #353 from ganwell/tokens
Token objects
2013-12-08 04:40:32 -08:00
David Halter 4ff8b921a3 editor list always with proper urls at the end (easier to copy) 2013-11-23 14:31:59 +01:00
David Halter a80a1fc19b add company jedi by @proofit404 to emacs jedi plugins 2013-11-23 14:29:21 +01:00
David Halter 35c05f3162 Merge pull request #338 from ColinDuquesnoy/master
Doc: add warning about thread safety
2013-10-31 13:42:10 -07: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 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
David Halter b357c099bc test for imports that are not in the sys.path. 2013-10-07 21:43:23 +04:30
David Halter 7e6ee728ea Merge pull request #323 from blink1073/gc-disable
Disabling gc while loading pickles for a 20% speed boost on larger libs
2013-10-06 08:55:38 -07:00
David Halter b6c30b542a merge fix for docs 2013-09-14 23:27:36 +04:30
David Halter 566d1023ee don't load builtin modules, if not necessary in python3.3 2013-09-14 23:15:41 +04:30
David Halter 92237b5598 test fix in python 3.2 2013-09-14 23:13:35 +04:30
David Halter a2ceaf1987 fixed import problems in python3.3 2013-09-14 23:12:09 +04:30
David Halter 0025a8c61e added failing test for import problems in py33 2013-09-14 23:11:47 +04:30
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 b17de836c3 Added SynJedi also to sphinx docs 2013-09-12 13:25:21 +04:30
David Halter cedae32605 Add SynWrite to supported editors. 2013-09-11 22:38:42 +04:30
David Halter 70123a6499 awesome badge power again :-) 2013-09-09 20:09:14 +04:30
David Halter ae365eb930 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-09-08 22:28:26 +04:30
David Halter 353bc54642 fix reversed builtin in 2.7 2013-09-07 22:56:01 +04:30
David Halter 06cdc3753a Merge pull request #316 from asmeurer/sith_run
Try to make it clearer that the first output of sith.py run is just the input
2013-09-06 21:41:45 -07:00
David Halter 9feb76ed53 add _io mixin because that's what open in python3 returns 2013-09-06 16:10: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 2deccb6d66 correct docstring, fixes #310 2013-09-06 13:03:30 +04:30
David Halter c74aa71549 update development docs with parser changes 2013-09-06 01:49:46 +04:30
David Halter 92a3491b3d removed an unused tokenizer import 2013-09-06 01:45:29 +04:30
David Halter 9eca33f55c final import renamings for the new parser package 2013-09-06 01:27:07 +04:30