Skip to content

Initialize segments_Segment_Type.tp_base and segments_SegmentList_Type.tp_base at run time

This is required to build 'glue' for Windows, which is required (now) to build PyCBC for use on Einstein@Home.

In Python on Windows, &PyTuple_Type and &PyList_Type aren't known at compile time, so one gets an 'initializer is not constant' error when compiling the 'segments' module there. The solution is to Initialize segments_Segment_Type.tp_base and segments_SegmentList_Type.tp_base at run time.

Merge request reports

Loading