1
0
forked from VimPlug/jedi
Commit Graph

39 Commits

Author SHA1 Message Date
Dave Halter
a408fb3211 Fix a recursion error, fixes #1173 2018-07-18 10:01:41 +02:00
Dave Halter
a3a39c0757 Always pop nodes in recursion detector 2018-03-04 18:29:00 +01:00
Dave Halter
3a7bc92863 Use builtins_module instead of BUILTINS 2017-12-10 18:52:51 +01:00
Dave Halter
3c75f27376 Move the base Context stuff to another module to keep context free for imports. 2017-09-30 16:46:07 +02:00
Dave Halter
b74c8cb033 To be able to customize ContextSet, move a subclass to evaluate.context 2017-09-27 09:20:58 +02:00
Dave Halter
174eff5875 Replace a lot more of empty sets and unite calls. 2017-09-25 23:08:59 +02:00
Dave Halter
c7dbf95344 Fix recursion issues.
Completely refactored the recursion checker and changed some settings.

Fixes #861.
2017-09-17 21:54:09 +02:00
Dave Halter
0516a8bd35 Get rid of the settings module in recursions. 2017-09-17 14:18:56 +02:00
Dave Halter
f4ba71f6a3 Move the recursion limit settings to the recursion module. 2017-09-17 14:08:39 +02:00
Dave Halter
d3c437e891 Restructure yield code to make it less error prone. 2017-01-07 12:43:15 +01:00
Dave Halter
ae8e43d3c7 Move get_node() to tree_node and replace all the custom classdefs/funcdefs. 2017-01-05 23:43:12 +01:00
Dave Halter
b7ae8a746c Simplify recursion issues. 2016-12-18 17:24:20 +01:00
Dave Halter
0daf3e4e9f Remove an unused recursion decorator. 2016-12-17 18:13:53 +01:00
Dave Halter
82667b85b9 Publicize the _evaluator in contexts. 2016-11-03 09:54:47 +01:00
Dave Halter
5b1d62a11e Fix the recursion detection. 2016-10-24 01:03:17 +02:00
Dave Halter
75b67af000 Starting to improve function calls. 2016-10-22 21:02:15 +02:00
Dave Halter
2e6603cc2e A lot of small improvements. 2016-10-22 17:40:42 +02:00
Dave Halter
0a4e858d88 Fix a recursion issue and add a test. 2016-07-27 19:15:03 +02:00
Dave Halter
bef5fca516 Refactor compiled.CompiledObject so it always owns an evaluator instance. 2015-12-08 02:19:33 +01:00
Dave Halter
7c94cd674a Fix an issue with the default type of memoize_default nt being a set. 2015-11-10 20:53:42 +01:00
Dave Halter
844a011193 Replacing the types list with a types set. Some tests are failing, though. 2015-10-13 18:03:36 +02:00
Dave Halter
71547641ae The recursion detector doesn't need to separate params and normal statements anymore, because now they are two completely different things. 2015-04-28 01:26:48 +02:00
Dave Halter
68bd9160e2 Fixed list comprehension name lookups. 2014-12-01 00:08:27 +01:00
Dave Halter
c152a1c58b Actually replace tree with representation (in all the imports). 2014-11-23 19:46:52 +01:00
Dave Halter
278bc9d705 Fix generators. 2014-11-14 02:05:25 +01:00
Dave Halter
cf63d20988 get rid of the evaluate_generator param 2014-07-30 16:36:27 +02:00
Dave Halter
0b99473886 ExecutedParams should never be additionally faked, even if they are the first params. They have been legitimately created by a caller. 2014-06-30 15:22:53 +02:00
Dave Halter
371ec888e9 further test for list comprehensions 2014-06-12 11:20:46 +02:00
Dave Halter
d5758adb2b fix list comprehensions. they were not implemented in a good way 2014-06-12 11:10:10 +02:00
Dave Halter
0b926ca454 get rid of is_list_comp boolean in favor of a direct check of ListComprehensionFlow 2014-06-09 20:19:31 +02:00
Dave Halter
5764e760d2 improve internal module links for sphinx documentation 2014-03-11 15:46:08 +01:00
Dave Halter
682e1c2708 debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner 2014-01-13 16:16:07 +01:00
Dave Halter
11e2446438 replaced builtin with compiled in all modules except imports 2014-01-09 11:05:04 +01:00
Dave Halter
e4692381cb created evaluate.iterable to push arrays and generators into a seperate file 2013-12-30 01:02:18 +01:00
Dave Halter
ff983f70bc fix execution recursion decorators 2013-12-26 18:01:54 +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
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