Fatal Python error in segments_verify.py under Python 3
The script segments_verify.py
crashes hard under Python 3, causing the unit tests to fail (see !15 (merged)). The crash occurs in test_segmentlist.test_typesafety
.
Here is a minimal Python invocation that produces the same crash.
$ python -X faulthandler -c 'from glue.segments import segmentlist; None | segmentlist()'
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: None
Fatal Python error: deallocating None
Current thread 0x00007fffa0e7e340 (most recent call first):
Abort trap: 6