mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
reenable recursion detection.
This commit is contained in:
@@ -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