The following code triggers a segmentation fault when invoking list(zip(c, c)).
test.py
a = ['1', '2', '3']
b = [1, 2, 3]
c = zip(b, b)
print(list(c))
print(list(zip(c, c)))
Reproduce:
'codon/codon-linux-x86_64/codon-deploy/bin/codon' run -release test.py
Crash message:
[(1, 1), (2, 2), (3, 3)]
Segmentation fault (core dumped)
Behavior on CPython 3.10.8:
[(1, 1), (2, 2), (3, 3)]
[]
Environment:
codon: v0.15.5 on Feb 6
Ubuntu 18.04
The following code triggers a segmentation fault when invoking list(zip(c, c)).
test.py
Reproduce:
'codon/codon-linux-x86_64/codon-deploy/bin/codon' run -release test.pyCrash message:
Behavior on CPython 3.10.8:
Environment:
codon: v0.15.5 on Feb 6
Ubuntu 18.04