Message261263
Following example causes double deallocation of a sequence and crashing.
class A(list):
def __del__(self):
next(it)
it = iter(A())
next(it)
The same is for subclass of tuple, str, bytes and bytearray.
Proposed patch fixes this issue. |
|
Date |
User |
Action |
Args |
2016-03-06 18:26:05 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger |
2016-03-06 18:26:04 | serhiy.storchaka | set | messageid: <1457288764.94.0.168287313304.issue26494@psf.upfronthosting.co.za> |
2016-03-06 18:26:04 | serhiy.storchaka | link | issue26494 messages |
2016-03-06 18:26:04 | serhiy.storchaka | create | |
|