[issue10794] Infinite recursion while garbage collecting loops indefinitely

2021-04-16 Thread Irit Katriel
Change by Irit Katriel : -- stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2021-02-12 Thread Irit Katriel
Irit Katriel added the comment: I think this issue is out of date. For Mihai's example I get: >>> class A(object): ... def __init__(self): ... raise Exception('init error') ... self.m = 'Hello world' ... def __del__(self): ... #raise RuntimeError('my runtime error') ...

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2013-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10794 ___ ___ Python-bugs-list

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 2.6 is finished except for possible security patches. This should be verified in a current release, preferably 3.2 -- nosy: +terry.reedy stage: - needs patch versions: +Python 2.7 -Python 2.6 ___

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-31 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: it happens on 3.2 (py3k head). -- Added file: http://bugs.python.org/file20208/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10794

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Normally you should never call __del__, OTOH the issue is the same with a class like:: class A: def close(self): self.close() def __del__(self): self.close() The problem is not with _infinite_ recursion,

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Precision: with new-styles classes (or py3k) the limit is PyTrash_UNWIND_LEVEL-2. This does not change anything to the problem. -- ___ Python tracker rep...@bugs.python.org

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-30 Thread Gregory P. Smith
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

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-29 Thread Mihai Rusu
New submission from Mihai Rusu di...@google.com: Hi While working on some Python code I stumbled on a situation where the Python process seems to hang indefinitely. Further debugging points to the following conclusion: if there is a class that somehow manages to run into an infinite