Closed
Description
Crash report
The in-built function filter() crashes as the following:
i = filter(bool, range(10000000))
for _ in range(10000000):
i = filter(bool, i)
Error messages
Segmentation fault (core dumped)
Your environment
- CPython versions tested on: Python 3.9.12
- Operating system and architecture: Linux hx-rs4810gs 5.15.0-57-generic 63~20.04.1-Ubuntu SMP Wed Nov 30 13:40:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
only security fixesonly security fixesonly security fixesonly security fixesonly security fixesonly security fixesA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump