[issue14010] deeply nested filter segfaults
Serhiy Storchaka
report at bugs.python.org
Tue Mar 19 14:28:33 CET 2013
Serhiy Storchaka added the comment:
I'm trying to solve this issue (it seemed easy), but the bug is worse than expected. Python crashed even without iteration at all.
it = 'abracadabra'
for _ in range(1000000):
it = filter(bool, it)
del it
And fixing a recursive deallocator is more harder than iterator.
What can we do if a deallocator raises RuntimeError due to maximum recursion depth exceeded.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14010>
_______________________________________
More information about the Python-bugs-list
mailing list