Commits

Ali Gholami Rudi  committed 84cdb82

pynamesdef: prevent reaching maximum recursion in _get_inferred()

  • Participants
  • Parent commits 11fa79c

Comments (0)

Files changed (1)

File rope/base/pynamesdef.py

                                   pynames._get_concluded_data(module))
         self.pyobject.set(pyobject)
 
+    @utils.prevent_recursion(lambda: None)
     def _get_inferred(self):
         if self.module is not None:
             return rope.base.oi.soi.infer_assigned_object(self)