Concerning the error in src/sage/libs/gap/element.pyx, it happens in line 2489:
for i in range(100):
rnd = [ randint(-10,10) for i in range(randint(0,7)) ]
# compute the sum in GAP
_ = libgap.Sum(rnd)
try:
libgap.Sum(*rnd)
print('This should have triggered a ValueError')
print('because Sum needs a list as argument')
except ValueError:
pass
getting Killed due to segmentation fault. Running this code in the terminal works, the error appears only in tests and with python 3.12.
Originally posted by @enriqueartal in #37011 (comment)
Concerning the error in
src/sage/libs/gap/element.pyx, it happens in line 2489:getting
Killed due to segmentation fault. Running this code in the terminal works, the error appears only in tests and with python 3.12.Originally posted by @enriqueartal in #37011 (comment)