mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-08 01:55:57 +08:00
reenable recursion detection.
This commit is contained in:
1 parent
4cd1efc5ba
commit
9a5564c624
1 file changed
-2
@@ -15,11 +15,9 @@ class RecursionDecorator(object):
|
||||
return self.func(stmt, *args, **kwargs)
|
||||
|
||||
r = RecursionNode(stmt, self.current)
|
||||
"""
|
||||
if self.check_recursion(r):
|
||||
debug.warning('catched recursion', stmt, args, kwargs)
|
||||
return []
|
||||
"""
|
||||
parent, self.current = self.current, r
|
||||
result = self.func(stmt, *args, **kwargs)
|
||||
self.current = parent
|
||||
|
||||
Reference in new issue
Block a user