[issue3611] invalid exception context
Antoine Pitrou
report at bugs.python.org
Thu Aug 21 19:14:32 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
On a Windows box, I manage to make the following script reliably hang on
a non-debug build of beta3. This can be a good base for further diagnosing.
def f():
class Bug:
def __del__(self):
1/0
import gc
trash = [Bug()]
trash.append(trash)
try:
gc.collect()
gc.set_threshold(1, 1, 1)
del trash
len()
except TypeError:
raise
if __name__ == "__main__":
f()
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3611>
_______________________________________
More information about the Python-bugs-list
mailing list