[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 mai

[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') ... se

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2013-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10794] Infinite recursion while garbage collecting loops indefinitely

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

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-31 Thread Terry J. Reedy
Terry J. Reedy 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 ___ Python tracker

[issue10794] Infinite recursion while garbage collecting loops indefinitely

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

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 __

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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, though; a depth of 47 is

[issue10794] Infinite recursion while garbage collecting loops indefinitely

2010-12-29 Thread Mihai Rusu
New submission from Mihai Rusu : 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 recursion (properly detec