Skip to content

Commit 21a3924

Browse files
📜🤖 Added by blurb_it.
1 parent 0919dec commit 21a3924

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Fix segmentation fault in deeply nested :func:`filter` iterator chains by
2+
adding a ``tp_clear`` method to the filter object. Previously, creating
3+
thousands of nested filter iterators and then consuming them would cause
4+
a stack overflow during garbage collection, leading to interpreter crashes.
5+
Now such cases properly raise :exc:`RecursionError` instead of crashing
6+
the interpreter.

0 commit comments

Comments
 (0)