Filipp Andjelo added the comment:
Hi Serhiy,
I tried the short example you gave, but it doesn't crash. I'm getting:
Exception ignored in: <bound method A.__del__ of []>
Traceback (most recent call last):
File "./test.py", line 5, in __del__
next(it)
StopIteration
Exception ignored in: <bound method A.__del__ of []>
Traceback (most recent call last):
File "./test.py", line 5, in __del__
next(it)
StopIteration
Traceback (most recent call last):
File "./test.py", line 8, in <module>
next(it)
StopIteration
Am I missing something?
----------
nosy: +scorp
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26494>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com