[issue14010] deeply nested filter segfaults

Raymond Hettinger report at bugs.python.org
Sat Apr 6 21:31:09 CEST 2013


Raymond Hettinger added the comment:

I would appreciate it if you would please revert this patch.  

We need to search for a solution that isn't as fine grained (i.e. not doing increments, decrements, and tests on every single call to iter_next).  Ideally, the checks can be confined to the iterator constructor and to dealloc.  Or you could try to create some general purpose stack overflow protection that periodically makes sure there is enough stack remaining for C Python to function correctly.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14010>
_______________________________________


More information about the Python-bugs-list mailing list