Thanks EKR. We've been getting the same thing with 2.6.4 on linux on all our code.
I tried your change, but got an exception elsewhere whose traceback ended at
for infered in callee.infer_call_result(self, callcontext):
File "/usr/local/lib/python2.6/site-packages/logilab/astng/infutils.py", line
298, in infer_call_result
for node in self._proxied.igetattr('__call__', context):
AttributeError: 'NoneType' object has no attribute 'igetattr'
Myself, I think the code really does intend to use a different variable __proxied but the call to hasattr() causes recursion. I just changed it as follows:
Thanks EKR. We've been getting the same thing with 2.6.4 on linux on all our code.
I tried your change, but got an exception elsewhere whose traceback ended at
for infered in callee. infer_call_ result( self, callcontext): lib/python2. 6/site- packages/ logilab/ astng/infutils. py", line igetattr( '__call_ _', context):
File "/usr/local/
298, in infer_call_result
for node in self._proxied.
AttributeError: 'NoneType' object has no attribute 'igetattr'
Myself, I think the code really does intend to use a different variable __proxied but the call to hasattr() causes recursion. I just changed it as follows:
def _set_proxied( const): PROXY[const. value._ _class_ _]
return _CONST_
and recursion and above problem went away. Not to say this is the right fix, just that it's quiet now.
.