Gregory P. Smith <g...@krypto.org> added the comment:

FWIW, the example pasted in the bug was the smallest one he could come up
with.  in reality we were never calling .__del__() explicitly. We ran into
the problem due to a __del__ method triggering a __getattr__ call and the
__getattr__ ending up in infinite recursion because an attribute it accessed
internally wasn't defined.  That particular bug was fixable by fixing the
__getattr__ to not depend on any instance attributes but it is still a
problem in Python for the interpreter to get into an infinite loop calling
the destructor in that case...

----------
Added file: http://bugs.python.org/file20196/unnamed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10794>
_______________________________________
FWIW, the example pasted in the bug was the smallest one he could come up with. 
 in reality we were never calling .__del__() explicitly. We ran into the 
problem due to a __del__ method triggering a __getattr__ call and the 
__getattr__ ending up in infinite recursion because an attribute it accessed 
internally wasn&#39;t defined.  That particular bug was fixable by fixing the 
__getattr__ to not depend on any instance attributes but it is still a problem 
in Python for the interpreter to get into an infinite loop calling the 
destructor in that case...<div>

<br></div><div><br></div>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to