Closed
Description
Crash report
What happened?
>>> import array
... a = array.array('i')
... it = iter(a)
... list(it)
... it.__setstate__(0)
...
Segmentation fault (core dumped)
This goes back at least to py 3.8 (checked on that one), PR fix incoming.
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.14.0a4+ (heads/arrayiter:7d97bc8eda, Jan 17 2025, 16:24:27) [GCC 11.4.0]
Linked PRs
Metadata
Metadata
Assignees
Labels
C modules in the Modules dirC modules in the Modules dirA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump